Browse Source

Indexer image version fix + lower timeouts

Leszek Wiesner 3 years ago
parent
commit
504794f723
2 changed files with 4 additions and 4 deletions
  1. 2 2
      docker-compose.yml
  2. 2 2
      tests/integration-tests/src/QueryNodeApi.ts

+ 2 - 2
docker-compose.yml

@@ -124,7 +124,7 @@ services:
     command: ["yarn", "workspace", "query-node-root", "processor:start"]
 
   indexer:
-    image: joystream/hydra-indexer:latest
+    image: joystream/hydra-indexer:3.0.0-beta.6
     restart: unless-stopped
     env_file:
       # relative to working directory where docker-compose was run from
@@ -146,7 +146,7 @@ services:
       sh -c "yarn db:bootstrap && yarn start:prod"
 
   indexer-api-gateway:
-    image: joystream/hydra-indexer-gateway:latest
+    image: joystream/hydra-indexer-gateway:3.0.0-beta.6
     restart: unless-stopped
     env_file:
       # relative to working directory where docker-compose was run from

+ 2 - 2
tests/integration-tests/src/QueryNodeApi.ts

@@ -194,8 +194,8 @@ export class QueryNodeApi {
   public tryQueryWithTimeout<QueryResultT>(
     query: () => Promise<QueryResultT>,
     assertResultIsValid: (res: QueryResultT) => void,
-    timeoutMs = 210000,
-    retryTimeMs = 30000
+    timeoutMs = 60000,
+    retryTimeMs = 15000
   ): Promise<QueryResultT> {
     const label = query.toString().replace(/^.*\.([A-za-z0-9]+\(.*\))$/g, '$1')
     const retryDebug = this.tryDebug.extend(label).extend('retry')