Преглед изворни кода

Integration tests - update proposals lock concurrency

Leszek Wiesner пре 3 година
родитељ
комит
d1f1446c1e
1 измењених фајлова са 3 додато и 2 уклоњено
  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),
     }
   }