Skip to content

Commit 3e7110a

Browse files
committed
Remove port check from epmd output
(cherry picked from commit 630b57d)
1 parent 6f908b1 commit 3e7110a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "7.0.0.{build}"
1+
version: "6.1.1.{build}"
22

33
platform: Any CPU
44
configuration: Release

tools/appveyor/install.ps1

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,18 +95,17 @@ $epmd = [System.IO.Path]::Combine($erlang_home, "erts-$erlang_erts_version", "bi
9595
Write-Host "[INFO] Waiting for epmd ($epmd) to report that RabbitMQ has started"
9696

9797
Do {
98-
& $epmd -names
99-
$epmd_running = & $epmd -names | Select-String -CaseSensitive -SimpleMatch -Quiet -Pattern 'name rabbit at port 25672'
98+
$epmd_running = & $epmd -names | Select-String -CaseSensitive -SimpleMatch -Quiet -Pattern 'name rabbit at port'
10099
if ($epmd_running -eq $true) {
101-
Write-Host '[INFO] epmd reports that RabbitMQ is at port 25672'
100+
Write-Host '[INFO] epmd reports that RabbitMQ is running'
102101
break
103102
}
104103

105104
if ($count -gt 60) {
106-
throw '[ERROR] too many tries waiting for epmd to report RabbitMQ on port 25672'
105+
throw '[ERROR] too many tries waiting for epmd to report RabbitMQ running'
107106
}
108107

109-
Write-Host "[INFO] epmd NOT reporting yet that RabbitMQ is at port 25672, count: $count"
108+
Write-Host "[INFO] epmd NOT reporting yet that RabbitMQ is running, count: $count"
110109
$count = $count + 1
111110
Start-Sleep -Seconds 5
112111

0 commit comments

Comments
 (0)