Skip to content

Commit

Permalink
close faucet container
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene committed Dec 15, 2023
1 parent f024672 commit ba0875b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions integration/faucet/faucet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ func TestFaucet(t *testing.T) {
assert.NoError(t, err)

err = faucetContainer.Start()
defer func(faucetContainer *container.FaucetContainer) {
err := faucetContainer.Stop()
if err != nil {
fmt.Printf("Could not stop faucet %s", err.Error())
}
}(faucetContainer)
assert.NoError(t, err)

initialFaucetBal, err := getFaucetBalance(faucetConfig.ServerPort)
Expand Down

0 comments on commit ba0875b

Please sign in to comment.