Skip to content

Fix AppVeyor build #871

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

Merged
merged 3 commits into from
Jun 17, 2020
Merged
Show file tree
Hide file tree
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
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