Skip to content

Commit

Permalink
chore: reformulate test
Browse files Browse the repository at this point in the history
  • Loading branch information
mellonnen committed Feb 15, 2023
1 parent ae6cac6 commit 2762b84
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion portal/portal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ func TestE2E(t *testing.T) {
config := portal.Config{
RendezvousAddr: rendezvousC.URI,
}
defer rendezvousC.Terminate(ctx)
t.Cleanup(func() {
if err := rendezvousC.Terminate(ctx); err != nil {
t.Fatal(err)
}
})
oracle := "A frog walks into a bank..."

in := bytes.NewBufferString(oracle)
Expand Down

0 comments on commit 2762b84

Please sign in to comment.