瀏覽代碼

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),
     }
   }