Skip to content

Commit 281e974

Browse files
committed
chore: Run test_cpu_rdmsr in PR optional test
Adds no_block_pr marker to test_cpu_rdmsr to run in the PR optional test. Also change the marker specification for the CPU template pipeline to keep it run in the pipeline. Signed-off-by: Takahiro Itazuri <[email protected]>
1 parent 012970f commit 281e974

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.buildkite/pipeline_cpu_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class BkStep(str, Enum):
2323
cpu_template_test = {
2424
"rdmsr": {
2525
BkStep.COMMAND: [
26-
"tools/devtool -y test --no-build -- -m nonci -n4 --dist worksteal integration_tests/functional/test_cpu_features_x86_64.py -k 'test_cpu_rdmsr' "
26+
"tools/devtool -y test --no-build -- -m no_block_pr -n4 --dist worksteal integration_tests/functional/test_cpu_features_x86_64.py -k 'test_cpu_rdmsr' "
2727
],
2828
BkStep.LABEL: "📖 rdmsr",
2929
"instances": [

tests/integration_tests/functional/test_cpu_features_x86_64.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def test_brand_string(uvm_plain_any):
253253

254254

255255
@pytest.mark.timeout(900)
256-
@pytest.mark.nonci
256+
@pytest.mark.no_block_pr
257257
def test_cpu_rdmsr(
258258
msr_reader_bin, microvm_factory, cpu_template_any, guest_kernel, rootfs, results_dir
259259
):

0 commit comments

Comments
 (0)