Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix redpanda tests #36

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions redpanda/lib/testcontainers/redpanda.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ def schema_registry_address
def _startup_script
startup_script = StringIO.new
startup_script.print("#!/bin/sh\n")
startup_script.print("/usr/bin/rpk redpanda start --mode dev-container")
startup_script.print("/usr/bin/rpk redpanda start --mode=dev-container --smp=1 --memory=1G")
startup_script.print(" --kafka-addr PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092")
startup_script.print(" --advertise-kafka-addr PLAINTEXT://0.0.0.0:29092,OUTSIDE://#{host}:#{mapped_port(port)}")
startup_script.print(" --advertise-kafka-addr PLAINTEXT://127.0.0.1:29092,OUTSIDE://#{host}:#{mapped_port(port)}")
startup_script
end

Expand Down
Loading