Skip to content

v0.9.6

Choose a tag to compare

@zcalusic zcalusic released this 30 Oct 11:40
· 28 commits to master since this release
v0.9.6

A testing and CI release: Dynomite itself is unchanged since v0.9.5, apart from its version. The functional tests are deterministic and much faster, and CI runs them in parallel.

Testing

  • The read repair test is deterministic: it used to depend on which replica answered first, and could fail under AddressSanitizer. It now holds back the stale replicas' replies so the read sees all of them, and checks that every stale replica gets the newer value and timestamp.
  • No fixed waits: the tests wait until a new cluster's nodes are connected to their datastores and to each other, and the expire test uses a 300 ms PEXPIRE and polls instead of sleeping 7 s.
  • The PING test, which doesn't depend on the cluster's layout, runs once per run of test/run_tests.sh. test/run_tests.sh takes test scripts as well as cluster files, so a part of the suite can run alone.
  • The functional tests take ~85 s instead of ~214 s in a local container.

Build and testing

  • CI runs the functional tests, plain and under the sanitizers, in four parallel parts each: one per cluster file, and the peer TLS and seed resolution tests. A CI run takes ~1.5 min instead of ~4.5 min.
  • The sanitizer build uses -Werror, like the other build jobs; the last GCC warnings it had, in the unit tests, are fixed.

Full Changelog: v0.9.5...v0.9.6