Skip to content

Commit

Permalink
Merge pull request #2168 from josephschorr/additional-ds-consistency
Browse files Browse the repository at this point in the history
Add additional tests to the datastore consistency test suite
  • Loading branch information
vroldanbet authored Dec 16, 2024
2 parents 631c3b5 + ca7a094 commit 1c316f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
if: |
needs.paths-filter.outputs.codechange == 'true'
run: "go run mage.go testds:${{ matrix.datastore }}"
- name: "Integration tests"
- name: "Consistency tests"
if: |
needs.paths-filter.outputs.codechange == 'true'
run: "go run mage.go testcons:${{ matrix.datastore }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ func TestConsistencyPerDatastore(t *testing.T) {
path.Join(path.Join(path.Dir(filename), "testconfigs"), "basicrbac.yaml"),
path.Join(path.Join(path.Dir(filename), "testconfigs"), "public.yaml"),
path.Join(path.Join(path.Dir(filename), "testconfigs"), "nil.yaml"),
path.Join(path.Join(path.Dir(filename), "testconfigs"), "basiccaveat.yaml"),
path.Join(path.Join(path.Dir(filename), "testconfigs"), "relexpiration.yaml"),
path.Join(path.Join(path.Dir(filename), "testconfigs"), "expirationwithcaveat.yaml"),
path.Join(path.Join(path.Dir(filename), "testconfigs"), "simplewildcard.yaml"),
path.Join(path.Join(path.Dir(filename), "testconfigs"), "caveatarrow.yaml"),
path.Join(path.Join(path.Dir(filename), "testconfigs"), "intersectionarrow.yaml"),
}

for _, engineID := range datastore.Engines {
Expand Down

0 comments on commit 1c316f7

Please sign in to comment.