Browse Source

Cont dir & query node integration tests: lower delay interval

iorveth 4 years ago
parent
commit
0a47c5c0a2

+ 0 - 1
query-node/docker-compose.yml

@@ -43,7 +43,6 @@ services:
       - TYPEORM_HOST=db
       - DEBUG=index-builder:*
       - WS_PROVIDER_ENDPOINT_URI=${WS_PROVIDER_ENDPOINT_URI}
-      - PROCESSOR_POLL_INTERVAL=100000
     depends_on:
       - indexer-api-gateway
     command: ["workspace", "query-node-root", "processor:start"]

+ 2 - 2
tests/network-tests/src/flows/contentDirectory/creatingChannel.ts

@@ -28,8 +28,8 @@ export default async function channelCreation(api: QueryNodeApi, pair: KeyringPa
 
   await createChannelHappyCaseFixture.runner(false)
 
-  // Temporary solution (wait 10 minutes)
-  await delay(600000)
+  // Temporary solution (wait 2 minutes)
+  await delay(120000)
 
   const result = await api.getChannelbyTitle(createChannelHappyCaseFixture.channelEntity.title)
   console.log(result.data)