Skip to content

Commit 8564934

Browse files
committed
fix test
1 parent b4f982d commit 8564934

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

core/retry_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ func TestFilterBatchV2(t *testing.T) {
524524
t.Errorf("FilterBatchV2 Emitted non Transient error: %s\n", err)
525525
return
526526
}
527-
if !strings.Contains(err.Error(), "connection reset") {
527+
if !strings.Contains(err.Error(), "connection refused") {
528528
t.Errorf("FilterBatchV2 Emitted non Transient error: %s\n", err)
529529
return
530530
}
@@ -571,7 +571,7 @@ func TestFilterBatchV3(t *testing.T) {
571571
t.Errorf("FilerBatchV3 Emitted non Transient error: %s\n", err)
572572
return
573573
}
574-
if !strings.Contains(err.Error(), "connection reset") {
574+
if !strings.Contains(err.Error(), "connection refused") {
575575
t.Errorf("FilterBatchV3 Emitted non Transient error: %s\n", err)
576576
return
577577
}
@@ -620,7 +620,7 @@ func TestBatchesStateSubscriber(t *testing.T) {
620620
t.Errorf("BatchesStateSubscriber Emitted non Transient error: %s\n", err)
621621
return
622622
}
623-
if !strings.Contains(err.Error(), "connection reset") {
623+
if !strings.Contains(err.Error(), "connection refused") {
624624
t.Errorf("BatchesStateSubscriber Emitted non Transient error: %s\n", err)
625625
return
626626
}

0 commit comments

Comments
 (0)