Skip to content

Commit ddb04d3

Browse files
committed
fix
1 parent bb18bf5 commit ddb04d3

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/paimon/common/utils/generic_lru_cache.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <functional>
2222
#include <list>
2323
#include <memory>
24+
#include <mutex>
2425
#include <optional>
2526
#include <shared_mutex>
2627
#include <unordered_map>

test/inte/pk_compaction_inte_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2998,7 +2998,7 @@ TEST_F(PkCompactionInteTest, PkDvAndAggWithIOException) {
29982998

29992999
bool run_complete = false;
30003000
auto io_hook = IOHook::GetInstance();
3001-
for (size_t i = 0; i < 800; i += rand() % 23) {
3001+
for (size_t i = 0; i < 800; i += RandomNumber(1, 23)) {
30023002
dir_ = UniqueTestDirectory::Create("local");
30033003
std::string table_path = TablePath();
30043004
CreateTable(fields, partition_keys, primary_keys, options);

0 commit comments

Comments
 (0)