Skip to content

Commit ad9cc04

Browse files
Merge branch 'main' into k8s/fix_agent_image
2 parents bac9b64 + 09c9abc commit ad9cc04

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

testing/integration/upgrade_gpg_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ package integration
88

99
import (
1010
"context"
11+
"runtime"
1112
"strings"
1213
"testing"
1314
"time"
@@ -98,6 +99,10 @@ func TestStandaloneUpgradeWithGPGFallbackOneRemoteFailing(t *testing.T) {
9899
Sudo: true, // requires Agent installation
99100
})
100101

102+
if runtime.GOOS == "windows" {
103+
t.Skip("This test is flaky on windows. See https://github.com/elastic/elastic-agent/issues/6732")
104+
}
105+
101106
minVersion := upgradetest.Version_8_10_0_SNAPSHOT
102107
currentVersion, err := version.ParseVersion(define.Version())
103108
require.NoError(t, err)

testing/integration/upgrade_rollback_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ func TestStandaloneUpgradeRollbackOnRestarts(t *testing.T) {
168168
Sudo: true, // requires Agent installation
169169
})
170170

171+
if runtime.GOOS == "windows" {
172+
t.Skip("This test is flaky on windows. See https://github.com/elastic/elastic-agent/issues/6733")
173+
}
174+
171175
ctx, cancel := testcontext.WithDeadline(t, context.Background(), time.Now().Add(10*time.Minute))
172176
defer cancel()
173177

testing/integration/upgrade_standalone_retry_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import (
1313
"net/http"
1414
"path"
1515
"path/filepath"
16+
"runtime"
1617
"strings"
1718
"testing"
1819
"time"
@@ -33,6 +34,10 @@ func TestStandaloneUpgradeRetryDownload(t *testing.T) {
3334
Sudo: true, // requires Agent installation
3435
})
3536

37+
if runtime.GOOS == "windows" {
38+
t.Skip("This test is flaky on windows. See https://github.com/elastic/elastic-agent/issues/6731")
39+
}
40+
3641
ctx, cancel := testcontext.WithDeadline(t, context.Background(), time.Now().Add(10*time.Minute))
3742
defer cancel()
3843

testing/integration/upgrade_standalone_same_commit_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"os"
1919
"path"
2020
"path/filepath"
21+
"runtime"
2122
"strings"
2223
"testing"
2324
"time"
@@ -81,6 +82,11 @@ func TestStandaloneUpgradeSameCommit(t *testing.T) {
8182
})
8283

8384
t.Run(fmt.Sprintf("Upgrade on a repackaged version of agent %s (%s)", currentVersion, unPrivilegedString), func(t *testing.T) {
85+
86+
if runtime.GOOS == "windows" {
87+
t.Skip("This test is flaky on windows. See https://github.com/elastic/elastic-agent/issues/6729")
88+
}
89+
8490
ctx, cancel := testcontext.WithDeadline(t, context.Background(), time.Now().Add(10*time.Minute))
8591
defer cancel()
8692

0 commit comments

Comments
 (0)