Files
scylladb/test/lib/eventually.cc
Benny Halevy 934a9d3fd6 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>
2025-01-23 09:28:05 +02: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);
};