mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-05 23:33:08 +00:00
enable trace, add logs
This commit is contained in:
parent
ab85322efe
commit
ce265d5f1c
@ -141,6 +141,8 @@ export class ServiceNode {
|
|||||||
args
|
args
|
||||||
);
|
);
|
||||||
|
|
||||||
|
mergedArgs.logLevel = LogLevel.Trace;
|
||||||
|
|
||||||
process.env.WAKUNODE2_STORE_MESSAGE_DB_URL = "";
|
process.env.WAKUNODE2_STORE_MESSAGE_DB_URL = "";
|
||||||
|
|
||||||
if (this.docker.container) {
|
if (this.docker.container) {
|
||||||
|
|||||||
@ -69,6 +69,8 @@ const runTests = (strictNodeCheck: boolean): void => {
|
|||||||
|
|
||||||
for (let i = 0; i < 10; i++) {
|
for (let i = 0; i < 10; i++) {
|
||||||
it.only("Push 30 different messages" + " #" + i, async function () {
|
it.only("Push 30 different messages" + " #" + i, async function () {
|
||||||
|
console.log("DEBUG: js-waku peerID", waku.peerId.toString());
|
||||||
|
|
||||||
const generateMessageText = (index: number): string => `M${index}`;
|
const generateMessageText = (index: number): string => `M${index}`;
|
||||||
|
|
||||||
for (let i = 0; i < 30; i++) {
|
for (let i = 0; i < 30; i++) {
|
||||||
@ -81,7 +83,7 @@ const runTests = (strictNodeCheck: boolean): void => {
|
|||||||
console.log(
|
console.log(
|
||||||
"DEBUG(test-case): pushed to ",
|
"DEBUG(test-case): pushed to ",
|
||||||
"failures:",
|
"failures:",
|
||||||
pushResponse.failures.toString(),
|
pushResponse.failures.map((f) => f.toString()),
|
||||||
" successes: ",
|
" successes: ",
|
||||||
pushResponse.successes.toString(),
|
pushResponse.successes.toString(),
|
||||||
" expected successes:",
|
" expected successes:",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user