mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-02 13:53:12 +00:00
enable trace, add logs
This commit is contained in:
parent
ab85322efe
commit
ce265d5f1c
@ -141,6 +141,8 @@ export class ServiceNode {
|
||||
args
|
||||
);
|
||||
|
||||
mergedArgs.logLevel = LogLevel.Trace;
|
||||
|
||||
process.env.WAKUNODE2_STORE_MESSAGE_DB_URL = "";
|
||||
|
||||
if (this.docker.container) {
|
||||
|
||||
@ -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:",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user