diff --git a/kv/kubernetes/kubernetes_integration_test.go b/kv/kubernetes/kubernetes_integration_test.go index 7652ae18c..30aba7472 100644 --- a/kv/kubernetes/kubernetes_integration_test.go +++ b/kv/kubernetes/kubernetes_integration_test.go @@ -82,6 +82,13 @@ func Test_Integration(t *testing.T) { return })) + require.NoError(t, c.CAS(context.Background(), "/test", func(old interface{}) (out interface{}, retry bool, err error) { + assert.Equal(t, "test", old) + out = nil + retry = false + return + })) + keys, err = c.List(context.TODO(), "/test") require.NoError(t, err) assert.ElementsMatch(t, []string{"/test"}, keys)