mirror of https://github.com/hashicorp/consul
Browse Source
newMockSnapshotHandler has an assertion on t.Cleanup which gets called before the event publisher is cancelled. This commit reorders the context.WithCancel so it properly gets cancelled before the assertion is made.pull/14285/head
Chris S. Kim
2 years ago
1 changed files with 17 additions and 4 deletions
Loading…
Reference in new issue