Skip to content

Commit bde3b77

Browse files
committed
chore: Fixing integration tests
1 parent 591d247 commit bde3b77

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

tasks/infra/agent/integrationTests_windows.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
- test_name: InfrastructureVersionPresentWindows
2-
dockerfile_lines:
2+
dockerfile_lines:
33
- ADD https://download.newrelic.com/infrastructure_agent/windows/newrelic-infra.msi newrelic-infra.msi
44
- RUN $p = Start-Process msiexec.exe -ArgumentList '/a','newrelic-infra.msi','/qn','TARGETDIR=C:\' -Wait -PassThru; if ($p.ExitCode -ne 0) { exit $p.ExitCode }
55
- COPY ["tasks/infra/config/fixtures/minimal_infra_config/newrelic-infra.yml", "C:/Program Files/New Relic/newrelic-infra/newrelic-infra.yml"]
6-
log_entry_expected:
6+
- RUN Write-Host DIAG_EXE_EXISTS=; Test-Path 'C:/Program Files/New Relic/newrelic-infra/newrelic-infra.exe'; Write-Host DIAG_YML_EXISTS=; Test-Path 'C:/Program Files/New Relic/newrelic-infra/newrelic-infra.yml'; Write-Host DIAG_YML_CONTENT_START; Get-Content 'C:/Program Files/New Relic/newrelic-infra/newrelic-infra.yml'; Write-Host DIAG_YML_CONTENT_END; Write-Host DIAG_DIR_LISTING; Get-ChildItem 'C:/Program Files/New Relic/newrelic-infra/'
7+
docker_cmd: ./nrdiag_x64.exe -y -filter all
8+
log_entry_expected:
79
- Info.*Infra/Agent/Version.*
810
log_entry_not_expected:
9-

0 commit comments

Comments
 (0)