diff options
| author | chenzizhan <[email protected]> | 2024-01-05 15:45:52 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2024-01-05 15:45:52 +0800 |
| commit | 2ae6ecdd529fa70842d11d370dcf6c5f20cf1c01 (patch) | |
| tree | a826c06ecda856c6e5671530575c7672c68c405b | |
| parent | d263c3836235d934af3e5605967197f32a84a087 (diff) | |
try ci
| -rw-r--r-- | test/test_easy_fs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_easy_fs.cpp b/test/test_easy_fs.cpp index 7724837..8d40783 100644 --- a/test/test_easy_fs.cpp +++ b/test/test_easy_fs.cpp @@ -239,11 +239,11 @@ TEST(test_easy_fieldstat, accuracy_in_multithread) std::thread threads[N_THREADS]; for (int thread_id = 0; thread_id < N_THREADS; thread_id++) { - threads[thread_id] = std::thread([fse]() { + threads[thread_id] = std::thread([thread_id]() { for (size_t i = 0; i < 2000000ULL; i++) { // 1 million times // fieldstat_easy_counter_incrby(fse, thread_id, counter_id, &TEST_TAG_INT, 1, 1); if (i % 500000 == 0) { - printf("i: %zu\n", i); + printf("thread_id: %d, i: %zu\n", thread_id, i); } } }); |
