Use 'ss' to check whether port is free
This utility is used inside Beakerlib.
This commit is contained in:
parent
f6f6efdfe9
commit
ec9c5bc5ed
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ rlJournalStart
|
|||
rlRun "bundle config build.nokogiri --use-system-libraries" 0 "Build nokogiri with system libraries"
|
||||
rlRun "bundle install"
|
||||
fi
|
||||
rlRun "netstat -tulpn | grep 3000" 1 "Check if port 3000 isn't engaged"
|
||||
rlRun "ss -tulpn | grep 3000" 1 "Check if port 3000 isn't engaged"
|
||||
rlRun "rails server &" 0 "Running rails server"
|
||||
sleep 10
|
||||
rlRun "wget http://0.0.0.0:3000" 0 "Wgetting running rails application"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue