Skip to content

Commit

Permalink
tmp: test repair multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal-Leszczynski committed Jul 16, 2024
1 parent 06608bb commit 13ba405
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 248 deletions.
32 changes: 4 additions & 28 deletions .github/cfg/integration-test-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
tablets: ${{ env.tablets }}

- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/restore RUN='"TestRestoreTables.*Integration"'
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair

restore-schema:
name: Test restore schema
Expand All @@ -48,7 +48,7 @@ jobs:
# Go does not support negative lookahead in regex expressions, so it has to be done manually.
# This regex ensures that all restore tests that didn't match restore-tables job will be run here.
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/restore RUN='"TestRestore([^T]|.{1}[^a]|.{2}[^b]|.{3}[^l]|.{4}[^e]|.{5}[^s]).*Integration"'
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair

backup:
name: Test backup
Expand All @@ -66,7 +66,7 @@ jobs:
tablets: ${{ env.tablets }}

- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/backup
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair

repair:
name: Test repair
Expand Down Expand Up @@ -106,28 +106,4 @@ jobs:
tablets: ${{ env.tablets }}

- name: Run cqlping tests
run: make pkg-integration-test PKG=./pkg/ping/cqlping

- name: Run dynamoping tests
run: make pkg-integration-test PKG=./pkg/ping/dynamoping

- name: Run scyllaclient tests
run: make pkg-integration-test PKG=./pkg/scyllaclient

- name: Run cluster tests
run: make pkg-integration-test PKG=./pkg/service/cluster

- name: Run healthcheck tests
run: make pkg-integration-test PKG=./pkg/service/healthcheck

- name: Run scheduler tests
run: make pkg-integration-test PKG=./pkg/service/scheduler

- name: Run store tests
run: make pkg-integration-test PKG=./pkg/store

- name: Run migrate tests
run: make pkg-integration-test PKG=./pkg/schema/migrate

- name: Run netwait tests
run: make pkg-integration-test PKG=./pkg/util/netwait
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
24 changes: 4 additions & 20 deletions .github/workflows/integration-tests-2023.1.9-IPV4-raftschema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/backup
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
repair:
name: Test repair
runs-on: ubuntu-latest
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/restore RUN='"TestRestore([^T]|.{1}[^a]|.{2}[^b]|.{3}[^l]|.{4}[^e]|.{5}[^s]).*Integration"'
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
restore-tables:
name: Test restore tables
runs-on: ubuntu-latest
Expand All @@ -66,7 +66,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/restore RUN='"TestRestoreTables.*Integration"'
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
small-pkg:
name: Test other, smaller packages
runs-on: ubuntu-latest
Expand All @@ -84,23 +84,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run cqlping tests
run: make pkg-integration-test PKG=./pkg/ping/cqlping
- name: Run dynamoping tests
run: make pkg-integration-test PKG=./pkg/ping/dynamoping
- name: Run scyllaclient tests
run: make pkg-integration-test PKG=./pkg/scyllaclient
- name: Run cluster tests
run: make pkg-integration-test PKG=./pkg/service/cluster
- name: Run healthcheck tests
run: make pkg-integration-test PKG=./pkg/service/healthcheck
- name: Run scheduler tests
run: make pkg-integration-test PKG=./pkg/service/scheduler
- name: Run store tests
run: make pkg-integration-test PKG=./pkg/store
- name: Run migrate tests
run: make pkg-integration-test PKG=./pkg/schema/migrate
- name: Run netwait tests
run: make pkg-integration-test PKG=./pkg/util/netwait
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
name: integration-tests-2023.1.9-IPV4-raftschema
"on":
pull_request:
Expand Down
24 changes: 4 additions & 20 deletions .github/workflows/integration-tests-2023.1.9-IPV4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/backup
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
repair:
name: Test repair
runs-on: ubuntu-latest
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/restore RUN='"TestRestore([^T]|.{1}[^a]|.{2}[^b]|.{3}[^l]|.{4}[^e]|.{5}[^s]).*Integration"'
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
restore-tables:
name: Test restore tables
runs-on: ubuntu-latest
Expand All @@ -66,7 +66,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/restore RUN='"TestRestoreTables.*Integration"'
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
small-pkg:
name: Test other, smaller packages
runs-on: ubuntu-latest
Expand All @@ -84,23 +84,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run cqlping tests
run: make pkg-integration-test PKG=./pkg/ping/cqlping
- name: Run dynamoping tests
run: make pkg-integration-test PKG=./pkg/ping/dynamoping
- name: Run scyllaclient tests
run: make pkg-integration-test PKG=./pkg/scyllaclient
- name: Run cluster tests
run: make pkg-integration-test PKG=./pkg/service/cluster
- name: Run healthcheck tests
run: make pkg-integration-test PKG=./pkg/service/healthcheck
- name: Run scheduler tests
run: make pkg-integration-test PKG=./pkg/service/scheduler
- name: Run store tests
run: make pkg-integration-test PKG=./pkg/store
- name: Run migrate tests
run: make pkg-integration-test PKG=./pkg/schema/migrate
- name: Run netwait tests
run: make pkg-integration-test PKG=./pkg/util/netwait
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
name: integration-tests-2023.1.9-IPV4
"on":
pull_request:
Expand Down
24 changes: 4 additions & 20 deletions .github/workflows/integration-tests-2023.1.9-IPV6-raftschema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/backup
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
repair:
name: Test repair
runs-on: ubuntu-latest
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/restore RUN='"TestRestore([^T]|.{1}[^a]|.{2}[^b]|.{3}[^l]|.{4}[^e]|.{5}[^s]).*Integration"'
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
restore-tables:
name: Test restore tables
runs-on: ubuntu-latest
Expand All @@ -66,7 +66,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/restore RUN='"TestRestoreTables.*Integration"'
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
small-pkg:
name: Test other, smaller packages
runs-on: ubuntu-latest
Expand All @@ -84,23 +84,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run cqlping tests
run: make pkg-integration-test PKG=./pkg/ping/cqlping
- name: Run dynamoping tests
run: make pkg-integration-test PKG=./pkg/ping/dynamoping
- name: Run scyllaclient tests
run: make pkg-integration-test PKG=./pkg/scyllaclient
- name: Run cluster tests
run: make pkg-integration-test PKG=./pkg/service/cluster
- name: Run healthcheck tests
run: make pkg-integration-test PKG=./pkg/service/healthcheck
- name: Run scheduler tests
run: make pkg-integration-test PKG=./pkg/service/scheduler
- name: Run store tests
run: make pkg-integration-test PKG=./pkg/store
- name: Run migrate tests
run: make pkg-integration-test PKG=./pkg/schema/migrate
- name: Run netwait tests
run: make pkg-integration-test PKG=./pkg/util/netwait
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
name: integration-tests-2023.1.9-IPV6-raftschema
"on":
pull_request:
Expand Down
24 changes: 4 additions & 20 deletions .github/workflows/integration-tests-2024.1.5-IPV4-tablets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/backup
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
repair:
name: Test repair
runs-on: ubuntu-latest
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/restore RUN='"TestRestore([^T]|.{1}[^a]|.{2}[^b]|.{3}[^l]|.{4}[^e]|.{5}[^s]).*Integration"'
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
restore-tables:
name: Test restore tables
runs-on: ubuntu-latest
Expand All @@ -66,7 +66,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/restore RUN='"TestRestoreTables.*Integration"'
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
small-pkg:
name: Test other, smaller packages
runs-on: ubuntu-latest
Expand All @@ -84,23 +84,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run cqlping tests
run: make pkg-integration-test PKG=./pkg/ping/cqlping
- name: Run dynamoping tests
run: make pkg-integration-test PKG=./pkg/ping/dynamoping
- name: Run scyllaclient tests
run: make pkg-integration-test PKG=./pkg/scyllaclient
- name: Run cluster tests
run: make pkg-integration-test PKG=./pkg/service/cluster
- name: Run healthcheck tests
run: make pkg-integration-test PKG=./pkg/service/healthcheck
- name: Run scheduler tests
run: make pkg-integration-test PKG=./pkg/service/scheduler
- name: Run store tests
run: make pkg-integration-test PKG=./pkg/store
- name: Run migrate tests
run: make pkg-integration-test PKG=./pkg/schema/migrate
- name: Run netwait tests
run: make pkg-integration-test PKG=./pkg/util/netwait
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
name: integration-tests-2024.1.5-IPV4-tablets
"on":
pull_request:
Expand Down
24 changes: 4 additions & 20 deletions .github/workflows/integration-tests-2024.1.5-IPV4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/backup
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
repair:
name: Test repair
runs-on: ubuntu-latest
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/restore RUN='"TestRestore([^T]|.{1}[^a]|.{2}[^b]|.{3}[^l]|.{4}[^e]|.{5}[^s]).*Integration"'
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
restore-tables:
name: Test restore tables
runs-on: ubuntu-latest
Expand All @@ -66,7 +66,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/restore RUN='"TestRestoreTables.*Integration"'
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
small-pkg:
name: Test other, smaller packages
runs-on: ubuntu-latest
Expand All @@ -84,23 +84,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run cqlping tests
run: make pkg-integration-test PKG=./pkg/ping/cqlping
- name: Run dynamoping tests
run: make pkg-integration-test PKG=./pkg/ping/dynamoping
- name: Run scyllaclient tests
run: make pkg-integration-test PKG=./pkg/scyllaclient
- name: Run cluster tests
run: make pkg-integration-test PKG=./pkg/service/cluster
- name: Run healthcheck tests
run: make pkg-integration-test PKG=./pkg/service/healthcheck
- name: Run scheduler tests
run: make pkg-integration-test PKG=./pkg/service/scheduler
- name: Run store tests
run: make pkg-integration-test PKG=./pkg/store
- name: Run migrate tests
run: make pkg-integration-test PKG=./pkg/schema/migrate
- name: Run netwait tests
run: make pkg-integration-test PKG=./pkg/util/netwait
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
name: integration-tests-2024.1.5-IPV4
"on":
pull_request:
Expand Down
24 changes: 4 additions & 20 deletions .github/workflows/integration-tests-2024.1.5-IPV6-tablets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/backup
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
repair:
name: Test repair
runs-on: ubuntu-latest
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/restore RUN='"TestRestore([^T]|.{1}[^a]|.{2}[^b]|.{3}[^l]|.{4}[^e]|.{5}[^s]).*Integration"'
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
restore-tables:
name: Test restore tables
runs-on: ubuntu-latest
Expand All @@ -66,7 +66,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run tests
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/restore RUN='"TestRestoreTables.*Integration"'
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
small-pkg:
name: Test other, smaller packages
runs-on: ubuntu-latest
Expand All @@ -84,23 +84,7 @@ jobs:
scylla-version: ${{ env.scylla-version }}
tablets: ${{ env.tablets }}
- name: Run cqlping tests
run: make pkg-integration-test PKG=./pkg/ping/cqlping
- name: Run dynamoping tests
run: make pkg-integration-test PKG=./pkg/ping/dynamoping
- name: Run scyllaclient tests
run: make pkg-integration-test PKG=./pkg/scyllaclient
- name: Run cluster tests
run: make pkg-integration-test PKG=./pkg/service/cluster
- name: Run healthcheck tests
run: make pkg-integration-test PKG=./pkg/service/healthcheck
- name: Run scheduler tests
run: make pkg-integration-test PKG=./pkg/service/scheduler
- name: Run store tests
run: make pkg-integration-test PKG=./pkg/store
- name: Run migrate tests
run: make pkg-integration-test PKG=./pkg/schema/migrate
- name: Run netwait tests
run: make pkg-integration-test PKG=./pkg/util/netwait
run: make pkg-integration-test IP_FAMILY=${{ env.ip-family }} PKG=./pkg/service/repair
name: integration-tests-2024.1.5-IPV6-tablets
"on":
pull_request:
Expand Down
Loading

0 comments on commit 13ba405

Please sign in to comment.