You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IT: fix MonotonicTimestampGenerator test and remove C++ timestamp generator
The MonotonicTimestampGenerator integration test was disabled because it
relied on C++ internal classes from src/timestamp_generator.{cpp,hpp} to
capture generated timestamps. Since timestamp generation is now handled
entirely on the Rust side, the test needs a Rust-side testing utility.
This commit:
- Adds RecordingTimestampGenerator in Rust that wraps MonotonicTimestampGenerator
and records all generated timestamps (behind cfg(cpp_integration_testing))
- Exposes testing_timestamp_gen_monotonic_new() and
testing_timestamp_gen_contains_timestamp() FFI functions for the test
- Rewrites the C++ test to use the new testing API
- Removes src/timestamp_generator.{cpp,hpp} (no longer needed)
- Enables the previously disabled test in both Scylla and Cassandra filters
Fixes: #296
0 commit comments