Skip to content

Commit

Permalink
Merge pull request #36 from HeyNonster/nony--fix-redpanda-tests
Browse files Browse the repository at this point in the history
Fix redpanda tests
  • Loading branch information
guilleiguaran authored Feb 8, 2024
2 parents cf639ef + 609859d commit c2d98de
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit c2d98de

Please sign in to comment.