fix time_keeper_test
Some checks failed
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Successful in 5m36s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Successful in 5m15s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Successful in 5m43s
linux-arm-gcc / linux-gcc-arm (Release) (push) Successful in 5m5s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Successful in 6m28s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Successful in 5m35s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Successful in 5m52s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Successful in 4m31s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 5m33s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 4m25s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Successful in 8m55s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Successful in 4m45s
linux-x64-clang / linux-clang (Debug) (push) Failing after 45s
linux-x64-clang / linux-clang (Release) (push) Failing after 36s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 5m9s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 4m27s
linux-x86-gcc / linux-gcc (Debug) (push) Successful in 5m32s
linux-x86-gcc / linux-gcc (Release) (push) Successful in 4m42s

This commit is contained in:
tqcq 2024-12-19 00:04:04 +08:00
parent efb0eb22f2
commit eb55aa61c7

View File

@ -12,8 +12,8 @@ namespace tile {
namespace internal {
constexpr auto kTestDuration = std::chrono::seconds(5);
constexpr auto kInterval = std::chrono::milliseconds(200);
constexpr auto kTimerNum = 1000;
constexpr auto kInterval = std::chrono::milliseconds(100);
constexpr auto kTimerNum = 100;
TEST(TimeKeeper, OneFastTimer)
{