We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a0b8bd commit fc50d65Copy full SHA for fc50d65
1 file changed
pkg/runtime/runtime_test.go
@@ -745,7 +745,7 @@ func TestEmitStartupInfo(t *testing.T) {
745
events := make(chan Event, 10)
746
747
// Call EmitStartupInfo
748
- rt.EmitStartupInfo(context.Background(), events)
+ rt.EmitStartupInfo(t.Context(), events)
749
close(events)
750
751
// Collect events
@@ -765,7 +765,7 @@ func TestEmitStartupInfo(t *testing.T) {
765
766
// Test that calling EmitStartupInfo again doesn't emit duplicate events
767
events2 := make(chan Event, 10)
768
- rt.EmitStartupInfo(context.Background(), events2)
+ rt.EmitStartupInfo(t.Context(), events2)
769
close(events2)
770
771
var collectedEvents2 []Event
0 commit comments