Skip to content

Fix acceptance test for new index ping POST#840

Merged
dennisvang merged 3 commits intosupport/1.18.xfrom
fix/839-ping-test-failure
Jan 29, 2026
Merged

Fix acceptance test for new index ping POST#840
dennisvang merged 3 commits intosupport/1.18.xfrom
fix/839-ping-test-failure

Conversation

@dennisvang
Copy link
Copy Markdown
Contributor

@dennisvang dennisvang commented Jan 29, 2026

This is actually a quick and dirty fix, following the same pattern as the other tests, cleaning up the index settings repository at the start of the test.

However, the underlying problem remains:
Individual repositories are cleaned up before each test. This way it is all too easy to forget cleaning up a repository.
If you rely on cleaning up the db before each test, as opposed to after each test, then you need to make sure everything (i.e. the whole db) is cleaned up.

fixes #839

so we can clearly see if settings come from db or defaults
This is actually a quick and dirty fix, following the same pattern as the other tests.
However, the underlying problem remains: if you rely on cleaning up the db before each test, as opposed to after each test, then you need to make sure *everything* is cleaned up.
@dennisvang dennisvang changed the title Fix acceptance test for posting new index ping entry Fix acceptance test for new index ping POST Jan 29, 2026
@dennisvang dennisvang merged commit 6e98961 into support/1.18.x Jan 29, 2026
13 checks passed
@dennisvang dennisvang deleted the fix/839-ping-test-failure branch January 29, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant