Skip to content

Commit

Permalink
long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
keelerm84 committed Oct 16, 2024
1 parent f0abb60 commit 492659b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions sdktests/server_side_persistence_read_write.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ func (s *ServerSidePersistentTests) dataSourceDeletesRespectVersioning(t *ldtest
})
}

func (s *ServerSidePersistentTests) ignoresDirectDatabaseModifications(t *ldtest.T, cacheConfig servicedef.SDKConfigPersistentCache) {
func (s *ServerSidePersistentTests) ignoresDirectDatabaseModifications(
t *ldtest.T, cacheConfig servicedef.SDKConfigPersistentCache) {
require.NoError(t, s.persistentStore.Reset())

persistence := NewPersistence()
Expand Down Expand Up @@ -248,7 +249,8 @@ func (s *ServerSidePersistentTests) ignoresDirectDatabaseModifications(t *ldtest
}
}

func (s *ServerSidePersistentTests) ignoresFlagsBeingDiscardedFromStore(t *ldtest.T, cacheConfig servicedef.SDKConfigPersistentCache) {
func (s *ServerSidePersistentTests) ignoresFlagsBeingDiscardedFromStore(

Check failure on line 252 in sdktests/server_side_persistence_read_write.go

View workflow job for this annotation

GitHub Actions / build-and-test

func `(*ServerSidePersistentTests).ignoresFlagsBeingDiscardedFromStore` is unused (unused)
t *ldtest.T, cacheConfig servicedef.SDKConfigPersistentCache) {
require.NoError(t, s.persistentStore.Reset())

persistence := NewPersistence()
Expand Down Expand Up @@ -355,7 +357,8 @@ func (s *ServerSidePersistentTests) doesNotCacheFlagMiss(t *ldtest.T, cacheConfi
time.Millisecond*500, time.Millisecond*20, "flag was never updated")
}

func (s *ServerSidePersistentTests) sdkReflectsDataSourceUpdatesEvenWithCache(t *ldtest.T, cacheConfig servicedef.SDKConfigPersistentCache) {
func (s *ServerSidePersistentTests) sdkReflectsDataSourceUpdatesEvenWithCache(
t *ldtest.T, cacheConfig servicedef.SDKConfigPersistentCache) {
require.NoError(t, s.persistentStore.Reset())

persistence := NewPersistence()
Expand Down Expand Up @@ -434,7 +437,8 @@ func (s *ServerSidePersistentTests) eventuallyRequireDataStoreInit(t *ldtest.T,
}, time.Second, time.Millisecond*20, prefix+":$inited key was not set")
}

func (s *ServerSidePersistentTests) eventuallyValidateFlagData(t *ldtest.T, prefix string, matchers map[string]m.Matcher) {
func (s *ServerSidePersistentTests) eventuallyValidateFlagData(
t *ldtest.T, prefix string, matchers map[string]m.Matcher) {
h.RequireEventually(t, func() bool {
data, err := s.persistentStore.GetMap(prefix + ":features")
if err != nil {
Expand Down

0 comments on commit 492659b

Please sign in to comment.