Skip to content

Commit

Permalink
Kafka dev service redpanda container failing with Text file busy
Browse files Browse the repository at this point in the history
Fixes quarkusio#26603

(cherry picked from commit 7606630)
  • Loading branch information
mederel authored and gsmet committed Jul 18, 2022
1 parent 8c89723 commit 289535f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ final class RedPandaKafkaContainer extends GenericContainer<RedPandaKafkaContain
withCreateContainerCmdModifier(cmd -> {
cmd.withEntrypoint("sh");
});
withCommand("-c", "while [ ! -f " + STARTER_SCRIPT + " ]; do sleep 0.1; done; " + STARTER_SCRIPT);
withCommand("-c", "while [ ! -f " + STARTER_SCRIPT + " ]; do sleep 0.1; done; sleep 0.1; " +
STARTER_SCRIPT);
waitingFor(Wait.forLogMessage(".*Started Kafka API server.*", 1));
}

Expand Down

0 comments on commit 289535f

Please sign in to comment.