test/boost/sstable_generation_test: s/LE/LT/ when appropriate

in 7a1fbb38, a new test is added to an existing test for
comparing the UUIDs with different time stamps, but we should tighten
the test a little bit to reflect the intention of the test:

 the timestamp of "2023-11-24 23:41:56" should be less than
 "2023-11-24 23:41:57".

in this change, we replace LE with LT to correct it.

Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>

Closes scylladb/scylladb#16245
This commit is contained in:
Kefu Chai
2023-12-01 11:08:20 +08:00
committed by Pavel Emelyanov
parent 1e80bdb440
commit a03be17da7

View File

@@ -105,7 +105,7 @@ BOOST_AUTO_TEST_CASE(compare) {
// their timestamps are:
// - 2023-11-24 23:41:56
// - 2023-11-24 23:41:57
BOOST_CHECK_LE(sstables::generation_type::from_string("3gbc_17lw_3tlpc2fe8ko69yav6u"),
BOOST_CHECK_LT(sstables::generation_type::from_string("3gbc_17lw_3tlpc2fe8ko69yav6u"),
sstables::generation_type::from_string("3gbc_17lx_59opc2fe8ko69yav6u"));
// all invalid identifiers should be equal
BOOST_CHECK_EQUAL(sstables::generation_type{}, sstables::generation_type{});