Merge pull request #1567 from element-hq/gaelg/drop-skip-if

Integration: Drop old tests skips
This commit is contained in:
Gaël Goinvic authored and GitHub committed 2026-09-03 11:59:12 +02:00
commit d6944878bb
4 files changed
+1 -12

No files matched your search

-3
View File
@@ -122,9 +122,6 @@ jobs:
- name: Deploy with pytest once
env:
PYTEST_CI_FIRST_STEP: "1"
# Drop me after releasing next 26.3.x
# We are changing the k3d ports range, so we cannot setup matrix-rtc with the old values
if: ${{ env.MATRIX_TEST_FROM_REF == '26.2.3' && !contains(env.MATRIX_TEST_COMPONENT, 'matrix-rtc') || env.MATRIX_TEST_FROM_REF != '26.2.3' }}
run: |
if [ -f "tests/integration/env/${MATRIX_TEST_COMPONENT}.rc" ]; then
# shellcheck source=/dev/null
+1
View File
@@ -0,0 +1 @@
CI: Cleanup old tests skips.
-8
View File
@@ -4,12 +4,10 @@
import asyncio
import json
import os
import time
from urllib.parse import urlparse
import pytest
import semver
from lightkube import AsyncClient
from .fixtures import ESSData, User
@@ -259,12 +257,6 @@ async def test_hookshot_webhook(
# This creates an unencrypted room, invites hookshot, creates a webhook,
# and verifies that hookshot posts webhook payloads to the room
@pytest.mark.skipif(not value_file_has("hookshot.enabled", True), reason="Hookshot not enabled")
@pytest.mark.skipif(
semver.Version.is_valid(os.environ.get("MATRIX_TEST_FROM_REF", ""))
and semver.VersionInfo.parse(os.environ.get("MATRIX_TEST_FROM_REF", "")).compare("26.1.3") <= 0
and os.environ.get("PYTEST_CI_FIRST_STEP", "") == "1",
reason="26.1.3 or earlier doesn't correctly mount widgets on the Synapse Ingress, so it fails before upgrading.",
)
@pytest.mark.asyncio_cooperative
async def test_hookshot_widget(
kube_client: AsyncClient,
-1
View File
@@ -202,7 +202,6 @@ async def test_pods_monitored(
@pytest.mark.skipif(
os.environ.get("SKIP_SERVICE_MONITORS_CRDS", "false") == "true", reason="ServiceMonitors not deployed"
)
@pytest.mark.skipif(os.environ.get("MATRIX_TEST_FROM_REF", "") == "25.6.2", reason="This fails against 25.6.2.")
@pytest.mark.asyncio_cooperative
@pytest.mark.usefixtures("matrix_stack")
async def test_service_monitors_point_to_metrics(