Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/scheduler/scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func TestSchedulerShutdown_FrontendLoop(t *testing.T) {
frontendLoop := initFrontendLoop(t, frontendClient, "frontend-12345")

// Stop the scheduler. This will disable receiving new requests from frontends.
scheduler.StopAsync()
require.NoError(t, services.StopAndAwaitTerminated(context.Background(), scheduler))

// We can still send request to scheduler, but we get shutdown error back.
require.NoError(t, frontendLoop.Send(&schedulerpb.FrontendToScheduler{
Expand Down
Loading