momentohq/client-sdk-rust

Root cause rust test failures when number of test threads is high

Closed this issue · 0 comments

When we leave the number of test threads high, some tests fail. See the integration test target in the makefile for setting the number of test threads. Root cause.

Original comments are here: #236 (comment)

Errors

Log

Example of test errors when running cargo t -vv: log.txt.

Observation of Errors

No SDK command comes back with an error, rather we actual response type no longer matches the expected. This tests prone to this are conditional set. Instead of Stored we get NotStored (or vice versa depending on the test)

Reproducing

When run cargo t -- --test-threads=2 these errors disappear.