Skip to content

Commit 633272c

Browse files
authored
[CI] New upgrade-flavor test group for TestStandaloneUpgrade_Flavor tests (#6870)
1 parent 08048a9 commit 633272c

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.buildkite/bk.integration.pipeline.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ steps:
4444
- fleet-privileged
4545
- standalone-upgrade
4646
- upgrade
47+
- upgrade-flavor
4748
- install-uninstall
4849

4950
- label: "Win2022:non-sudo:{{matrix}}"
@@ -95,6 +96,7 @@ steps:
9596
matrix:
9697
- default
9798
- upgrade
99+
- upgrade-flavor
98100
- standalone-upgrade
99101
- fleet
100102
- fleet-endpoint-security
@@ -122,6 +124,7 @@ steps:
122124
matrix:
123125
- default
124126
- upgrade
127+
- upgrade-flavor
125128
- standalone-upgrade
126129
- fleet
127130
- fleet-endpoint-security

testing/integration/groups_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ const (
3535
// Upgrade group of tests. Used for testing upgrades.
3636
Upgrade = "upgrade"
3737

38+
// UpgradeFlavor group of tests. Used for testing flavored upgrades.
39+
UpgradeFlavor = "upgrade-flavor"
40+
3841
// StandaloneUpgrade group of tests. Used for TestStandaloneUpgrade.
3942
StandaloneUpgrade = "standalone-upgrade"
4043

testing/integration/upgrade_standalone_flavors_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424

2525
func TestStandaloneUpgrade_Flavor_Basic(t *testing.T) {
2626
define.Require(t, define.Requirements{
27-
Group: Upgrade,
27+
Group: UpgradeFlavor,
2828
Local: false, // requires Agent installation
2929
Sudo: true, // requires Agent installation
3030
})
@@ -82,7 +82,7 @@ func TestStandaloneUpgrade_Flavor_Basic(t *testing.T) {
8282

8383
func TestStandaloneUpgrade_Flavor_Servers(t *testing.T) {
8484
define.Require(t, define.Requirements{
85-
Group: Upgrade,
85+
Group: UpgradeFlavor,
8686
Local: false, // requires Agent installation
8787
Sudo: true, // requires Agent installation
8888
})
@@ -139,7 +139,7 @@ func TestStandaloneUpgrade_Flavor_Servers(t *testing.T) {
139139

140140
func TestStandaloneUpgrade_Flavor_UpgradeFromUnflavored(t *testing.T) {
141141
define.Require(t, define.Requirements{
142-
Group: Upgrade,
142+
Group: UpgradeFlavor,
143143
Local: false, // requires Agent installation
144144
Sudo: true, // requires Agent installation
145145
})

0 commit comments

Comments
 (0)