Skip to content

Commit

Permalink
fix(tests): disable Ryuk due bug on Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
henrybarreto authored and gustavosbarreto committed Jul 22, 2024
1 parent 8e051c9 commit c448049
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ jobs:
if: matrix.project != 'ui' && steps.filter.outputs.go == 'true' && github.event.pull_request.draft == false
working-directory: ${{ matrix.project }}
run: go test -v ${{ matrix.extra_args }} -timeout 25m ./...
env:
TESTCONTAINERS_RYUK_DISABLED: true

- name: Go build [Go]
if: matrix.project != 'ui' && matrix.project != 'tests' && steps.filter.outputs.go == 'true' && github.event.pull_request.draft == false
Expand Down
2 changes: 1 addition & 1 deletion tests/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func keygen() error {
}

func TestMain(m *testing.M) {
// FIXME: Due to issue related on testcontainers-go, we are disabling Ryuk it as a temporary solution.
// INFO: Due to issue related on testcontainers-go, we are disabling Ryuk it as a temporary solution.
//
// https://github.com/testcontainers/testcontainers-go/issues/2445
os.Setenv("TESTCONTAINERS_RYUK_DISABLED", "true")
Expand Down

0 comments on commit c448049

Please sign in to comment.