We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30cdb0d commit 89119b5Copy full SHA for 89119b5
dispatcher_test.go
@@ -506,7 +506,7 @@ func TestHandleEvent(t *testing.T) {
506
}
507
508
// Create a test context
509
- ctx := context.WithValue(context.Background(), "workerID", 0)
+ ctx := context.WithValue(context.Background(), workerIDKey, 0)
510
511
// Create and save a test event
512
eventID := "test_handle_event"
@@ -548,7 +548,7 @@ func TestHandleEventFailedSend(t *testing.T) {
548
549
550
551
552
553
554
eventID := "test_handle_event_failure"
0 commit comments