Explorar o código

Integration tests - update proposals lock concurrency

Leszek Wiesner %!s(int64=3) %!d(string=hai) anos
pai
achega
d1f1446c1e
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      tests/integration-tests/src/Resources.ts

+ 3 - 2
tests/integration-tests/src/Resources.ts

@@ -70,10 +70,11 @@ export class ResourceManager {
     return {
       [Resource.Council]: this.add(Resource.Council),
       // We assume that a flow will only have one active proposal at a time
-      // Runtime is configured for MaxActiveProposalLimit = 5
+      // Runtime is configured for MaxActiveProposalLimit = 20
       // So we should ensure we don't exceed that number of active proposals
       // which limits the number of concurrent tests that create proposals
-      [Resource.Proposals]: this.add(Resource.Proposals, 5),
+      // TODO: Get the value from api.consts.proposalsEngine.maxActiveProposalLimit
+      [Resource.Proposals]: this.add(Resource.Proposals, 20),
     }
   }