From 9dbee17f636ca9ba2649b45adc2b65f4fd66af84 Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Thu, 28 Nov 2024 09:14:41 +0100 Subject: [PATCH] Fixnugete2e (#1339) Co-authored-by: freddydk --- e2eTests/scenarios/GitHubPackages/runtest.ps1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/e2eTests/scenarios/GitHubPackages/runtest.ps1 b/e2eTests/scenarios/GitHubPackages/runtest.ps1 index 5dcd30e13..b4354d00e 100644 --- a/e2eTests/scenarios/GitHubPackages/runtest.ps1 +++ b/e2eTests/scenarios/GitHubPackages/runtest.ps1 @@ -119,6 +119,9 @@ $repoPath = (Get-Location).Path Set-Location $repoPath1 WaitWorkflow -repository $repository1 -runid $run1.id +# Run a second time with wait (due to GitHubPackages error with our organization?) +$run1 = RunCICD -repository $repository1 -branch $branch -wait + # test artifacts generated in repository1 Test-ArtifactsFromRun -runid $run1.id -folder 'artifacts' -expectedArtifacts @{"Apps"=3;"TestApps"=0;"Dependencies"=0} -repoVersion '1.0' -appVersion '1.0' @@ -126,6 +129,9 @@ Test-ArtifactsFromRun -runid $run1.id -folder 'artifacts' -expectedArtifacts @{" Set-Location $repoPath2 $run2 = RunCICD -repository $repository2 -branch $branch -wait +# Run a second time with wait (due to GitHubPackages error with our organization?) +$run2 = RunCICD -repository $repository2 -branch $branch -wait + # test artifacts generated in repository2 Test-ArtifactsFromRun -runid $run2.id -folder 'artifacts' -expectedArtifacts @{"Apps"=1;"TestApps"=0;"Dependencies"=0} -repoVersion '1.0' -appVersion '1.0'