@@ -500,54 +500,6 @@ func TestValkeyClientGetSetWithExpire(t *testing.T) {
500500 wait : 1100 * time .Millisecond ,
501501 wantErr : true ,
502502 },
503- {
504- name : "add one, get one, no expiration, with Rendezvous hash" ,
505- options : & ValkeyOptions {
506- Addrs : []string {valkeyAddr },
507- HashAlgorithm : "rendezvous" ,
508- },
509- key : "k1" ,
510- value : "foo" ,
511- expire : time .Second ,
512- expect : "foo" ,
513- wantErr : false ,
514- },
515- {
516- name : "add one, get one, no expiration, with Rendezvous Vnodes hash" ,
517- options : & ValkeyOptions {
518- Addrs : []string {valkeyAddr },
519- HashAlgorithm : "rendezvousVnodes" ,
520- },
521- key : "k1" ,
522- value : "foo" ,
523- expire : time .Second ,
524- expect : "foo" ,
525- wantErr : false ,
526- },
527- {
528- name : "add one, get one, no expiration, with Jump hash" ,
529- options : & ValkeyOptions {
530- Addrs : []string {valkeyAddr },
531- HashAlgorithm : "jump" ,
532- },
533- key : "k1" ,
534- value : "foo" ,
535- expire : time .Second ,
536- expect : "foo" ,
537- wantErr : false ,
538- },
539- {
540- name : "add one, get one, no expiration, with Multiprobe hash" ,
541- options : & ValkeyOptions {
542- Addrs : []string {valkeyAddr },
543- HashAlgorithm : "mpchash" ,
544- },
545- key : "k1" ,
546- value : "foo" ,
547- expire : time .Second ,
548- expect : "foo" ,
549- wantErr : false ,
550- },
551503 } {
552504 t .Run (tt .name , func (t * testing.T ) {
553505 cli , err := NewValkeyRingClient (tt .options )
0 commit comments