Skip to content

Commit

Permalink
[oximeter] Port all single node ClickHouse tests to a replicated set …
Browse files Browse the repository at this point in the history
…up (#4372)

This is a follow up to
#4149 . In this commit all
single node tests are now run against a clustered set up. Additionally,
a few bugs on the replicated init SQL file have been fixed.

Note:

All of the individual field and measurement tests all run under a
single test now. The reason for this is test times. Each test needs to
wipe out it's database before the next test runs. In a replicated
installation, this means that all nodes must sync, which takes time.
Before I merged all the field/measurement tests into a single one, the
testing time for a replicated set up took about 10 minutes, which really
is too much. Now it takes ~3.5 minutes. It is still a lot, but only a
temporary measure until we can run these tests in parallel again. An
unintended bonus of this approach is that running the tests this way
means that you are testing that the data is being inserted in the
correct table.

Related: #4148
Related: #4001
  • Loading branch information
karencfv authored Oct 31, 2023
1 parent 73c3571 commit 1cf6a0f
Show file tree
Hide file tree
Showing 4 changed files with 793 additions and 440 deletions.
Loading

0 comments on commit 1cf6a0f

Please sign in to comment.