Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Alessandro (Ale) Segala <[email protected]>
  • Loading branch information
ItalyPaleAle authored Aug 4, 2023
1 parent 84abca5 commit 9f18dd5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/conformance/state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -1045,11 +1045,13 @@ func ConformanceTests(t *testing.T, props map[string]string, statestore state.St

t.Run("ttlExpireTime", func(t *testing.T) {
if !config.HasOperation("transaction") {
t.Skip("state store does not support transactions")
// This test is only for state stores that support transactions
return
}

if config.ComponentName == "redis.v6" || config.ComponentName == "redis.v7" {
t.Skip("redis does not support ttlExpireTime")
// Redis does not support ttlExpireTime
return
}

t.Run("set and get expire time", func(t *testing.T) {
Expand Down

0 comments on commit 9f18dd5

Please sign in to comment.