enable trace, add logs

This commit is contained in:
Sasha 2025-06-03 14:02:24 +02:00
parent ab85322efe
commit ce265d5f1c
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View File

@ -141,6 +141,8 @@ export class ServiceNode {
args
);
mergedArgs.logLevel = LogLevel.Trace;
process.env.WAKUNODE2_STORE_MESSAGE_DB_URL = "";
if (this.docker.container) {

View File

@ -69,6 +69,8 @@ const runTests = (strictNodeCheck: boolean): void => {
for (let i = 0; i < 10; i++) {
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}`;
for (let i = 0; i < 30; i++) {
@ -81,7 +83,7 @@ const runTests = (strictNodeCheck: boolean): void => {
console.log(
"DEBUG(test-case): pushed to ",
"failures:",
pushResponse.failures.toString(),
pushResponse.failures.map((f) => f.toString()),
" successes: ",
pushResponse.successes.toString(),
" expected successes:",