diff --git a/staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go b/staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go index 961029b8c7c..65b354d4f39 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go @@ -226,7 +226,6 @@ func TestGet(t *testing.T) { expectRVTooLarge bool expectedOut *example.Pod rv string - expectedRV string }{{ // test get on existing item name: "get existing", key: key, @@ -287,11 +286,6 @@ func TestGet(t *testing.T) { } return } - if tt.expectedRV != "" { - if tt.expectedRV != out.ResourceVersion { - t.Errorf("expecting resource version want=%s, got=%s", tt.expectedRV, out.ResourceVersion) - } - } if err != nil { t.Fatalf("Get failed: %v", err) }