From af9f8510da036ba1abf9470d5ade2b542841d279 Mon Sep 17 00:00:00 2001 From: Peter Somogyvari Date: Tue, 23 Mar 2021 17:42:53 -0700 Subject: [PATCH] fix(ci): disallow parallel run for all Fabric AIO int. tests #656 This is yet another attempt at potentially fixing all the remaining CI flakes that only happen on the GitHub Action runners but never on developer machines. Signed-off-by: Peter Somogyvari --- .../deploy-contract/deploy-cc-from-golang-source.test.ts | 4 ++++ .../typescript/integration/fabric-v2-2-x/tap-parallel-not-ok | 0 .../integration/{fabric-v1-4-x => }/tap-parallel-not-ok | 0 3 files changed, 4 insertions(+) delete mode 100644 packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/tap-parallel-not-ok rename packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/{fabric-v1-4-x => }/tap-parallel-not-ok (100%) diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/deploy-contract-go-bin-endpoint-v1/deploy-contract/deploy-cc-from-golang-source.test.ts b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/deploy-contract-go-bin-endpoint-v1/deploy-contract/deploy-cc-from-golang-source.test.ts index b2b9129483..a35f4ea1d4 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/deploy-contract-go-bin-endpoint-v1/deploy-contract/deploy-cc-from-golang-source.test.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/deploy-contract-go-bin-endpoint-v1/deploy-contract/deploy-cc-from-golang-source.test.ts @@ -54,6 +54,10 @@ test(testCase, async (t: Test) => { imageVersion: "2021-03-02-ssh-hotfix", }); await ledger.start(); + t.doesNotThrow(() => ledger.getContainer(), "Container is set OK"); + const ledgerContainer = ledger.getContainer(); + t.ok(ledgerContainer, "ledgerContainer truthy OK"); + t.ok(ledgerContainer.id, "ledgerContainer.id truthy OK"); const tearDown = async () => { await ledger.stop(); diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/tap-parallel-not-ok b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/tap-parallel-not-ok deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v1-4-x/tap-parallel-not-ok b/packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/tap-parallel-not-ok similarity index 100% rename from packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v1-4-x/tap-parallel-not-ok rename to packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/tap-parallel-not-ok