run just the flaky test in CI, ten times

This commit is contained in:
Christian Schwarz
2024-06-12 21:15:42 +02:00
parent 246c4c5ccf
commit a1063ead56
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -447,6 +447,7 @@ jobs:
with:
build_type: ${{ matrix.build_type }}
test_selection: regress
extra_params: -k test_vm_bit_clear_on_heap_lock_blackbox
needs_postgres_source: true
run_with_real_s3: true
real_s3_bucket: neon-github-ci-tests
@@ -858,7 +859,7 @@ jobs:
cache-to: type=registry,ref=neondatabase/compute-node-${{ matrix.version }}:cache-${{ matrix.arch }},mode=max
tags: |
neondatabase/compute-node-${{ matrix.version }}:${{ needs.tag.outputs.build-tag }}-${{ matrix.arch }}
- name: Build neon extensions test image
if: matrix.version == 'v16'
uses: docker/build-push-action@v5
+2
View File
@@ -1,6 +1,7 @@
import time
from contextlib import closing
import pytest
from fixtures.log_helper import log
from fixtures.neon_fixtures import NeonEnv, NeonEnvBuilder, fork_at_current_lsn
from fixtures.utils import query_scalar
@@ -193,6 +194,7 @@ def test_vm_bit_clear_on_heap_lock_whitebox(neon_env_builder: NeonEnvBuilder):
assert vm_page_at_pageserver == vm_page_in_cache
@pytest.mark.repeat(10)
def test_vm_bit_clear_on_heap_lock_blackbox(neon_env_builder: NeonEnvBuilder):
"""
The previous test is enough to verify the bug that was fixed in