Skip to content

Commit

Permalink
test: skip flaky fabric 2.2.x deploy cc from JS test
Browse files Browse the repository at this point in the history
This is related to hyperledger-cacti#1471 (does not fix it though). In order to enable
faster CI/PR turnaround times we are aggressively eliminating (skipping)
flaky tests and creating issues in the backlog for fixing them later on.

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
  • Loading branch information
petermetz committed Oct 22, 2021
1 parent db0941e commit 4e6f1c3
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ import { Configuration } from "@hyperledger/cactus-core-api";
const testCase = "deploys Fabric 2.x contract from javascript source";
const logLevel: LogLevelDesc = "TRACE";

test("BEFORE " + testCase, async (t: Test) => {
// Skipping due to test being flaky, see https://github.com/hyperledger/cactus/issues/1471
test.skip("BEFORE " + testCase, async (t: Test) => {
const pruning = pruneDockerAllIfGithubAction({ logLevel });
await t.doesNotReject(pruning, "Pruning didn't throw OK");
t.end();
});

test(testCase, async (t: Test) => {
// Skipping due to test being flaky, see https://github.com/hyperledger/cactus/issues/1471
test.skip(testCase, async (t: Test) => {
const channelId = "mychannel";
const channelName = channelId;

Expand Down

0 comments on commit 4e6f1c3

Please sign in to comment.