diff --git a/pkg/sturdycache/sturdycache_test.go b/pkg/sturdycache/sturdycache_test.go index 642e9f42..dfaab1e5 100644 --- a/pkg/sturdycache/sturdycache_test.go +++ b/pkg/sturdycache/sturdycache_test.go @@ -42,6 +42,7 @@ func (t *TestStruct) UnmarshalBinary(data []byte) error { func (s *ReplicatedCacheTestSuite) SetupTest() { var err error s.replicatedCache, s.master, s.replicas, s.teardownFunc = CreateTestCache(s.T()) + s.cache = s.replicatedCache s.Require().NoError(err) }