Skip to content

Commit

Permalink
tests: Slight cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed Feb 9, 2024
1 parent 660cfc5 commit 4d112f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,4 @@ remote.test
ztarrepo.tar.gz
eslint-report.json
.run.id
.local-mock-server
4 changes: 2 additions & 2 deletions integration-tests/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Local k8s run
# Local e2e testing

Make sure to have `psql` installed locally. We use it to create a new database for each node.

Expand Down Expand Up @@ -31,7 +31,7 @@ cd integration-tests
go test -count 1 -v -timeout 30m --run OCRBasic ./smoke
```

Cleanup is broken right now, so use `something.down.sh` scripts to teardown everything afterwards.
Use `something.down.sh` scripts to teardown everything afterwards if the tests don't properly clean up.

# Old docs

Expand Down
1 change: 1 addition & 0 deletions integration-tests/smoke/ocr2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func TestOCRBasic(t *testing.T) {
require.NoError(t, err, "Validating round should not fail")

t.Cleanup(func() {
testState.Common.TearDownLocalEnvironment(t)
// TODO:
// err = actions.TeardownSuite(t, testState.Common.Env, testState.Cc.ChainlinkNodes, nil, zapcore.ErrorLevel, nil, nil)
// require.NoError(t, err, "Error tearing down environment")
Expand Down

0 comments on commit 4d112f9

Please sign in to comment.