Skip to content

Commit

Permalink
Merge pull request #871 from rabbitmq/lrb-fix-appveyor
Browse files Browse the repository at this point in the history
Fix AppVeyor build
  • Loading branch information
lukebakken authored Jun 17, 2020
2 parents 7750851 + 2b205fa commit a54d5cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "6.1.1.{build}"
version: "7.0.0.{build}"

platform: Any CPU
configuration: Release
Expand Down
5 changes: 3 additions & 2 deletions tools/appveyor/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,15 @@ $rabbitmqctl_path = "$path\rabbitmq_server-$rabbitmq_version\sbin\rabbitmqctl.ba
[Environment]::SetEnvironmentVariable('RABBITMQ_RABBITMQCTL_PATH', $rabbitmqctl_path, 'Machine')
$env:RABBITMQ_RABBITMQCTL_PATH = $rabbitmqctl_path

Write-Host '[INFO] Waiting for epmd to report that RabbitMQ has started'

$epmd_running = $false
[int]$count = 1

$epmd = [System.IO.Path]::Combine($erlang_home, "erts-$erlang_erts_version", "bin", "epmd.exe")

Write-Host "[INFO] Waiting for epmd ($epmd) to report that RabbitMQ has started"

Do {
& $epmd -names
$epmd_running = & $epmd -names | Select-String -CaseSensitive -SimpleMatch -Quiet -Pattern 'name rabbit at port 25672'
if ($epmd_running -eq $true) {
Write-Host '[INFO] epmd reports that RabbitMQ is at port 25672'
Expand Down

0 comments on commit a54d5cf

Please sign in to comment.