Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ava-labs/avalanchego
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d3483739e286632ee556d5e5465c3f67d2ce7130
Choose a base ref
..
head repository: ava-labs/avalanchego
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cfe11136b51814906579abdf11c4899b88f50e90
Choose a head ref
Showing with 3 additions and 3 deletions.
  1. +1 −1 tests/antithesis/context.go
  2. +1 −1 tests/fixture/e2e/ginkgo_test_context.go
  3. +1 −1 tests/simple_test_context.go
2 changes: 1 addition & 1 deletion tests/antithesis/context.go
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ import (

// NewInstrumentedTestContext returns a test context that makes antithesis SDK assertions.
func NewInstrumentedTestContext() *tests.SimpleTestContext {
return NewInstrumentedTestContextWithArgs(nil, "", nil)
return NewInstrumentedTestContextWithArgs(context.Background(), "", nil)
}

// NewInstrumentedTestContextWithArgs returns a test context that makes antithesis SDK assertions.
2 changes: 1 addition & 1 deletion tests/fixture/e2e/ginkgo_test_context.go
Original file line number Diff line number Diff line change
@@ -83,7 +83,7 @@ func (tc *GinkgoTestContext) WithDefaultContext() common.Option {
return tests.WithDefaultContext(tc)
}

func (tc *GinkgoTestContext) GetDefaultContextParent() context.Context {
func (*GinkgoTestContext) GetDefaultContextParent() context.Context {
return nil
}

2 changes: 1 addition & 1 deletion tests/simple_test_context.go
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ type SimpleTestContext struct {
}

func NewTestContext() *SimpleTestContext {
return NewTestContextWithArgs(nil, "", nil, nil)
return NewTestContextWithArgs(context.Background(), "", nil, nil)
}

func NewTestContextWithArgs(