Skip to content

Commit

Permalink
added case to persistence test base for sql
Browse files Browse the repository at this point in the history
  • Loading branch information
aliue committed Aug 13, 2021
1 parent e11a480 commit ea50165
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion common/persistence/persistence-tests/persistenceTestBase.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,11 @@ func (s *TestBase) Setup() {
s.fatalOnError("NewShardManager", err)

s.ConfigStoreManager, err = factory.NewConfigStoreManager()
s.fatalOnError("NewConfigStoreManager", err)
if err.Error() == "sql config store not yet implemented" {
s.ConfigStoreManager = nil
} else {
s.fatalOnError("NewConfigStoreManager", err)
}

s.ExecutionMgrFactory = factory
s.ExecutionManager, err = factory.NewExecutionManager(shardID)
Expand Down

0 comments on commit ea50165

Please sign in to comment.