Skip to content

Commit

Permalink
fix config used in new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anitarua committed Aug 24, 2023
1 parent 4d42f9e commit 3df1aa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions momento/cache_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ var _ = Describe("CacheClient", func() {

It(`Supports constructing a Lambda config with a logger`, func() {
_, err := NewCacheClient(
config.InRegionLatestWithLogger(momento_default_logger.NewDefaultMomentoLoggerFactory(momento_default_logger.INFO)),
config.LambdaWithLogger(momento_default_logger.NewDefaultMomentoLoggerFactory(momento_default_logger.INFO)),
sharedContext.CredentialProvider,
sharedContext.DefaultTtl,
)
Expand All @@ -76,7 +76,7 @@ var _ = Describe("CacheClient", func() {

It(`Supports constructing a Lambda config with a logger with eager connections`, func() {
_, err := NewEagerCacheClient(
config.InRegionLatestWithLogger(momento_default_logger.NewDefaultMomentoLoggerFactory(momento_default_logger.INFO)),
config.LambdaWithLogger(momento_default_logger.NewDefaultMomentoLoggerFactory(momento_default_logger.INFO)),
sharedContext.CredentialProvider,
sharedContext.DefaultTtl,
30*time.Second,
Expand Down

0 comments on commit 3df1aa2

Please sign in to comment.