We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3432ab3 + 0dc4c64 commit 13681acCopy full SHA for 13681ac
1 file changed
proxy/shadow_pubsub_test.go
@@ -168,7 +168,8 @@ func TestShadowPubSub_CompareLoopExitsOnChannelClose(t *testing.T) {
168
}
169
170
func TestShadowPubSub_DuplicateSecondaryBuffered(t *testing.T) {
171
- sp := newTestShadowPubSub(10 * time.Millisecond)
+ clock := newTestClock()
172
+ sp := newTestShadowPubSubWithClock(1*time.Second, clock.Now)
173
174
// Two identical secondary messages arrive before any primary.
175
sp.matchSecondary(&redis.Message{Channel: "ch1", Payload: "dup"})
0 commit comments