Skip to content

Commit 0d35b27

Browse files
committed
[QE]remove okd preset test on arm64
1 parent 27cd68c commit 0d35b27

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

images/build-e2e/lib/darwin/run.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ done
5050
mkdir -p $targetFolder/results
5151

5252
# Run tests
53-
tags="darwin"
53+
arch=$(go env GOARCH)
54+
tags="$arch,darwin"
5455
if [ ! -z "$e2eTagExpression" ]
5556
then
5657
tags="$tags && $e2eTagExpression"

images/build-e2e/lib/linux/run.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ done
5050
mkdir -p $targetFolder/results
5151

5252
# Run tests
53-
tags="linux"
53+
arch=$(go env GOARCH)
54+
tags="$arch,linux"
5455
if [ ! -z "$e2eTagExpression" ]
5556
then
5657
tags="$tags && $e2eTagExpression"

images/build-e2e/lib/windows/run.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $resultsDir = "$targetFolderDir\results"
2424
New-Item -ItemType directory -Path "$resultsDir" -Force
2525

2626
# Run tests
27-
$tags="windows"
27+
$tags="amd64,windows"
2828
if ($e2eTagExpression) {
2929
$tags="$tags && $e2eTagExpression"
3030
}

test/e2e/features/config.feature

+6-2
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ Feature: Test configuration settings
162162
And stdout should contain "Successfully unset configuration property 'preset'"
163163
And "JSON" config file "crc.json" in CRC home folder does not contain key "preset"
164164

165-
166165
Scenario: CRC config set and get preset property (positive cases)
167166
When setting config property "preset" to value "<preset-value>" succeeds
168167
And "JSON" config file "crc.json" in CRC home folder contains key "preset" with value matching "<preset-value>"
@@ -172,11 +171,16 @@ Feature: Test configuration settings
172171
And stdout should contain "Successfully unset configuration property 'preset'"
173172
And "JSON" config file "crc.json" in CRC home folder does not contain key "preset"
174173

175-
@linux @darwin @windows
174+
@amd64
176175
Examples: Config property preset setting positive
177176
| preset-value |
178177
| microshift |
179178
| okd |
179+
180+
@arm64
181+
Examples: Config property preset setting positive
182+
| preset-value |
183+
| microshift |
180184

181185
Scenario: CRC config set preset (negtive cases)
182186
When setting config property "preset" to value "<preset-value>" fails

0 commit comments

Comments
 (0)