mirror of
https://github.com/hibiken/asynq.git
synced 2025-09-19 05:17:30 +08:00
Unexport redis key name constants from rdb package
This commit is contained in:
@@ -42,12 +42,12 @@ func TestClient(t *testing.T) {
|
||||
continue
|
||||
}
|
||||
|
||||
if l := r.LLen(rdb.DefaultQueue).Val(); l != tc.wantQueueSize {
|
||||
t.Errorf("%q has length %d, want %d", rdb.DefaultQueue, l, tc.wantQueueSize)
|
||||
if l := r.LLen(defaultQ).Val(); l != tc.wantQueueSize {
|
||||
t.Errorf("%q has length %d, want %d", defaultQ, l, tc.wantQueueSize)
|
||||
}
|
||||
|
||||
if l := r.ZCard(rdb.Scheduled).Val(); l != tc.wantScheduledSize {
|
||||
t.Errorf("%q has length %d, want %d", rdb.Scheduled, l, tc.wantScheduledSize)
|
||||
if l := r.ZCard(scheduledQ).Val(); l != tc.wantScheduledSize {
|
||||
t.Errorf("%q has length %d, want %d", scheduledQ, l, tc.wantScheduledSize)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user