Skip to content

Commit

Permalink
Merge pull request #3106 from oasisprotocol/ptrus/fix/late-start-test
Browse files Browse the repository at this point in the history
go/tests/e2e: add missing Clone() override to late-start
  • Loading branch information
ptrus authored Jul 14, 2020
2 parents 0466b12 + aa2c14b commit a075a12
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .changelog/3106.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
go/tests/e2e: Add missing Clone() override to late-start
6 changes: 6 additions & 0 deletions go/oasis-test-runner/scenario/e2e/runtime/late_start.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ func newLateStartImpl(name, clientBinary string, clientArgs []string) scenario.S
}
}

func (sc *lateStartImpl) Clone() scenario.Scenario {
return &lateStartImpl{
runtimeImpl: *sc.runtimeImpl.Clone().(*runtimeImpl),
}
}

func (sc *lateStartImpl) Fixture() (*oasis.NetworkFixture, error) {
f, err := sc.runtimeImpl.Fixture()
if err != nil {
Expand Down

0 comments on commit a075a12

Please sign in to comment.