Files
scylladb/test/lib/eventually.cc
Benny Halevy 52c82527f9 test: lib: eventually: add sleep function param
To allow support for manual_clock instead of seastar::sleep.

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
(cherry picked from commit 934a9d3fd6)
2025-04-27 08:49:04 +00:00

14 lines
269 B
C++

/*
* Copyright (C) 2019-present ScyllaDB
*/
/*
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
*/
#include "test/lib/eventually.hh"
sleep_fn seastar_sleep_fn = [] (std::chrono::milliseconds ms) -> future<> {
return seastar::sleep(ms);
};