Skip to content

Commit

Permalink
fix: kalium internal api changes broke monkeys (WPB-5118) (#2155)
Browse files Browse the repository at this point in the history
  • Loading branch information
Augusto César Dias authored Oct 19, 2023
1 parent 3b1d9b2 commit 2e787e6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions monkeys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ and `authPassword` with the credentials for the internal API of the respective b
* The application should run until it receives a `SIGINT` (Ctrl+C) signal. There should be a
configuration to finish the test run
* Tests need to be implemented
* Collecting metrics about the test execution
* Tracing and replaying a test run. For this the order is the important factor, so when replayed it
won't be executed in parallel.
* Multi-clients. Right now each user can have just one client within the application
* Clean-up the data created during the tests
* Randomising times for action execution
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,10 @@ class MonkeyApplication : CliktCommand(allowMultipleSubcommands = true) {

if (logOutputFile != null) {
CoreLogger.init(KaliumLogger.Config(logLevel, listOf(fileLogger)))
MonkeyLogger.init(KaliumLogger.Config(logLevel, listOf(fileLogger)))
} else {
CoreLogger.init(KaliumLogger.Config(logLevel, emptyList()))
MonkeyLogger.init(KaliumLogger.Config(logLevel, emptyList()))
}
MonkeyLogger.setLoggingLevel(logLevel, monkeyFileLogger)
MonkeyLogger.init(KaliumLogger.Config(logLevel, listOf(monkeyFileLogger)))
logger.i("Initializing Metrics Endpoint")
io.ktor.server.engine.embeddedServer(Netty, port = 9090) {
routing {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class Monkey(val user: UserData) {
val storeResult = addAuthenticatedAccount(
serverConfigId = loginResult.serverConfigId,
ssoId = loginResult.ssoID,
accountTokens = loginResult.authData,
authTokens = loginResult.authData,
proxyCredentials = loginResult.proxyCredentials,
replace = true
)
Expand Down

0 comments on commit 2e787e6

Please sign in to comment.