To allow support for manual_clock instead of seastar::sleep.
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
(cherry picked from commit 934a9d3fd6)
14 lines
269 B
C++
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);
|
|
};
|