Skip to content

Commit

Permalink
enable TTL in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pmazzini committed Jun 2, 2020
1 parent f1bef35 commit b305845
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server_java_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ func NewIntegrationTestServer(t *testing.T, configPath string, stdout, stderr io
}
// password is 'test'
superString := `SERVER_JVMFLAGS=-Dzookeeper.DigestAuthenticationProvider.superDigest=super:D/InIHSb7yEEbrWz8b9l71RjZJU=`
// enable TTL
superString += ` -Dzookeeper.extendedTypesEnabled=true -Dzookeeper.emulate353TTLNodes=true`

return &server{
cmdString: filepath.Join(zkPath, "zkServer.sh"),
Expand Down

0 comments on commit b305845

Please sign in to comment.