summaryrefslogtreecommitdiffstats
path: root/src/seastar/tests/unit
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
commit483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch)
treee5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/seastar/tests/unit
parentInitial commit. (diff)
downloadceph-upstream.tar.xz
ceph-upstream.zip
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/seastar/tests/unit/CMakeLists.txt310
-rw-r--r--src/seastar/tests/unit/abort_source_test.cc77
-rw-r--r--src/seastar/tests/unit/alien_test.cc106
-rw-r--r--src/seastar/tests/unit/alloc_test.cc69
-rw-r--r--src/seastar/tests/unit/allocator_test.cc235
-rw-r--r--src/seastar/tests/unit/catest.key51
-rw-r--r--src/seastar/tests/unit/catest.pem33
-rw-r--r--src/seastar/tests/unit/checked_ptr_test.cc107
-rw-r--r--src/seastar/tests/unit/chunked_fifo_test.cc338
-rw-r--r--src/seastar/tests/unit/circular_buffer_fixed_capacity_test.cc124
-rw-r--r--src/seastar/tests/unit/circular_buffer_test.cc109
-rw-r--r--src/seastar/tests/unit/connect_test.cc75
-rw-r--r--src/seastar/tests/unit/defer_test.cc76
-rw-r--r--src/seastar/tests/unit/directory_test.cc55
-rw-r--r--src/seastar/tests/unit/distributed_test.cc181
-rw-r--r--src/seastar/tests/unit/dns_test.cc134
-rw-r--r--src/seastar/tests/unit/execution_stage_test.cc336
-rw-r--r--src/seastar/tests/unit/expiring_fifo_test.cc189
-rw-r--r--src/seastar/tests/unit/fair_queue_test.cc379
-rw-r--r--src/seastar/tests/unit/file_io_test.cc143
-rw-r--r--src/seastar/tests/unit/foreign_ptr_test.cc110
-rw-r--r--src/seastar/tests/unit/fstream_test.cc510
-rw-r--r--src/seastar/tests/unit/futures_test.cc955
-rw-r--r--src/seastar/tests/unit/httpd_test.cc641
-rw-r--r--src/seastar/tests/unit/json_formatter_test.cc54
-rw-r--r--src/seastar/tests/unit/loopback_socket.hh258
-rw-r--r--src/seastar/tests/unit/lowres_clock_test.cc117
-rw-r--r--src/seastar/tests/unit/mkcert.gmk91
-rw-r--r--src/seastar/tests/unit/mock_file.hh113
-rw-r--r--src/seastar/tests/unit/net_config_test.cc127
-rw-r--r--src/seastar/tests/unit/noncopyable_function_test.cc87
-rw-r--r--src/seastar/tests/unit/output_stream_test.cc131
-rw-r--r--src/seastar/tests/unit/packet_test.cc121
-rw-r--r--src/seastar/tests/unit/program_options_test.cc63
-rw-r--r--src/seastar/tests/unit/queue_test.cc70
-rw-r--r--src/seastar/tests/unit/rpc_test.cc547
-rw-r--r--src/seastar/tests/unit/semaphore_test.cc249
-rw-r--r--src/seastar/tests/unit/shared_ptr_test.cc204
-rwxr-xr-xsrc/seastar/tests/unit/signal_test.cc48
-rw-r--r--src/seastar/tests/unit/simple_stream_test.cc99
-rw-r--r--src/seastar/tests/unit/slab_test.cc127
-rw-r--r--src/seastar/tests/unit/smp_test.cc80
-rw-r--r--src/seastar/tests/unit/sstring_test.cc135
-rw-r--r--src/seastar/tests/unit/stall_detector_test.cc83
-rw-r--r--src/seastar/tests/unit/test.crl13
-rw-r--r--src/seastar/tests/unit/test.crt33
-rw-r--r--src/seastar/tests/unit/test.csr30
-rw-r--r--src/seastar/tests/unit/test.key51
-rw-r--r--src/seastar/tests/unit/thread_context_switch_test.cc95
-rw-r--r--src/seastar/tests/unit/thread_test.cc170
-rw-r--r--src/seastar/tests/unit/timer_test.cc105
-rw-r--r--src/seastar/tests/unit/tls-ca-bundle.pem4195
-rw-r--r--src/seastar/tests/unit/tls_test.cc532
-rw-r--r--src/seastar/tests/unit/tuple_utils_test.cc99
-rw-r--r--src/seastar/tests/unit/unwind_test.cc70
-rw-r--r--src/seastar/tests/unit/weak_ptr_test.cc131
56 files changed, 13671 insertions, 0 deletions
diff --git a/src/seastar/tests/unit/CMakeLists.txt b/src/seastar/tests/unit/CMakeLists.txt
new file mode 100644
index 00000000..171b66e9
--- /dev/null
+++ b/src/seastar/tests/unit/CMakeLists.txt
@@ -0,0 +1,310 @@
+#
+# This file is open source software, licensed to you under the terms
+# of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+# distributed with this work for additional information regarding copyright
+# ownership. You may not use this file except in compliance with the License.
+#
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+#
+# Copyright (C) 2018 Scylladb, Ltd.
+#
+
+# Logical target for all unit tests.
+add_custom_target (unit_tests)
+
+macro (seastar_add_test name)
+ set (args ${ARGN})
+
+ cmake_parse_arguments (parsed_args
+ "NO_SEASTAR_TESTING_LIBRARY"
+ "WORKING_DIRECTORY"
+ "RUN_ARGS;SOURCES"
+ ${args})
+
+ set (command_args "")
+ set (depends_args "")
+
+ if (parsed_args_SOURCES)
+ if (parsed_args_NO_SEASTAR_TESTING_LIBRARY)
+ set (libraries seastar_with_flags)
+
+ if (parsed_args_RUN_ARGS)
+ set (run_args ${parsed_args_RUN_ARGS})
+ else ()
+ set (run_args -c 2)
+ endif ()
+ else ()
+ set (libraries
+ seastar_with_flags
+ seastar_testing)
+
+ if (NOT (Seastar_JENKINS STREQUAL ""))
+ seastar_jenkins_arguments (${name} jenkins_args)
+ else ()
+ set (jenkins_args "")
+ endif ()
+
+ if (parsed_args_RUN_ARGS)
+ set (test_args ${parsed_args_RUN_ARGS})
+ else ()
+ set (test_args -- -c 2)
+ endif ()
+
+ set (run_args
+ ${jenkins_args}
+ ${test_args})
+ endif ()
+
+ set (executable_target test_unit_${name})
+ add_executable (${executable_target} ${parsed_args_SOURCES})
+
+ target_link_libraries (${executable_target}
+ PRIVATE ${libraries})
+
+ target_compile_definitions (${executable_target}
+ PRIVATE SEASTAR_TESTING_MAIN)
+
+ target_include_directories (${executable_target}
+ PRIVATE
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${Seastar_SOURCE_DIR}/src)
+
+ set_target_properties (${executable_target}
+ PROPERTIES
+ OUTPUT_NAME ${name})
+
+ add_dependencies (unit_tests ${executable_target})
+ list (APPEND command_args COMMAND ${executable_target} ${run_args})
+ endif ()
+
+ set (target test_unit_${name}_run)
+
+ if (parsed_args_WORKING_DIRECTORY)
+ list (APPEND command_args WORKING_DIRECTORY ${parsed_args_WORKING_DIRECTORY})
+ endif ()
+
+ add_custom_target (${target}
+ ${command_args}
+ ${parsed_args_UNPARSED_ARGUMENTS}
+ USES_TERMINAL)
+
+ add_test (
+ NAME Seastar.unit.${name}
+ COMMAND ${CMAKE_COMMAND} --build ${Seastar_BINARY_DIR} --target ${target})
+
+ set_tests_properties (Seastar.unit.${name}
+ PROPERTIES
+ TIMEOUT ${Seastar_TEST_TIMEOUT})
+endmacro ()
+
+function (prepend_each var prefix)
+ set (result "")
+
+ foreach (x ${ARGN})
+ list (APPEND result ${prefix}/${x})
+ endforeach ()
+
+ set (${var} ${result} PARENT_SCOPE)
+endfunction ()
+
+add_custom_target (test_unit
+ COMMAND ctest --verbose -R Seastar.unit
+ USES_TERMINAL)
+
+seastar_add_test (abort_source
+ SOURCES abort_source_test.cc)
+
+seastar_add_test (alloc
+ SOURCES alloc_test.cc)
+
+if (NOT Seastar_EXECUTE_ONLY_FAST_TESTS)
+ set (allocator_test_args "")
+else ()
+ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
+ set (allocator_test_args --iterations 5)
+ else ()
+ set (allocator_test_args --time 0.1)
+ endif ()
+endif ()
+
+seastar_add_test (allocator
+ SOURCES allocator_test.cc
+ RUN_ARGS ${allocator_test_args})
+
+seastar_add_test (alien
+ SOURCES alien_test.cc
+ NO_SEASTAR_TESTING_LIBRARY)
+
+seastar_add_test (checked_ptr
+ SOURCES checked_ptr_test.cc)
+
+seastar_add_test (chunked_fifo
+ SOURCES chunked_fifo_test.cc)
+
+seastar_add_test (circular_buffer
+ SOURCES circular_buffer_test.cc)
+
+seastar_add_test (circular_buffer_fixed_capacity
+ SOURCES circular_buffer_fixed_capacity_test.cc)
+
+seastar_add_test (connect
+ SOURCES connect_test.cc)
+
+seastar_add_test (defer
+ SOURCES defer_test.cc)
+
+seastar_add_test (directory
+ SOURCES directory_test.cc
+ NO_SEASTAR_TESTING_LIBRARY)
+
+seastar_add_test (distributed
+ SOURCES distributed_test.cc
+ NO_SEASTAR_TESTING_LIBRARY)
+
+seastar_add_test (dns
+ SOURCES dns_test.cc)
+
+seastar_add_test (execution_stage
+ SOURCES execution_stage_test.cc)
+
+seastar_add_test (expiring_fifo
+ SOURCES expiring_fifo_test.cc)
+
+seastar_add_test (fair_queue
+ SOURCES fair_queue_test.cc)
+
+seastar_add_test (file_io
+ SOURCES file_io_test.cc)
+
+seastar_add_test (foreign_ptr
+ SOURCES foreign_ptr_test.cc)
+
+seastar_add_test (fstream
+ SOURCES
+ fstream_test.cc
+ mock_file.hh)
+
+seastar_add_test (futures
+ SOURCES futures_test.cc)
+
+seastar_add_test (httpd
+ SOURCES
+ httpd_test.cc
+ loopback_socket.hh)
+
+seastar_add_test (json_formatter
+ SOURCES json_formatter_test.cc)
+
+seastar_add_test (lowres_clock
+ SOURCES lowres_clock_test.cc)
+
+seastar_add_test (net_config
+ SOURCES net_config_test.cc)
+
+seastar_add_test (noncopyable_function
+ SOURCES noncopyable_function_test.cc)
+
+seastar_add_test (output_stream
+ SOURCES output_stream_test.cc)
+
+seastar_add_test (packet
+ SOURCES packet_test.cc)
+
+seastar_add_test (program_options
+ SOURCES program_options_test.cc)
+
+seastar_add_test (queue
+ SOURCES queue_test.cc)
+
+seastar_add_test (rpc
+ SOURCES
+ loopback_socket.hh
+ rpc_test.cc)
+
+seastar_add_test (semaphore
+ SOURCES semaphore_test.cc)
+
+seastar_add_test (shared_ptr
+ SOURCES shared_ptr_test.cc)
+
+seastar_add_test (signal
+ SOURCES signal_test.cc)
+
+seastar_add_test (simple_stream
+ SOURCES simple_stream_test.cc)
+
+# TODO: Disabled for now. See GH-520.
+# seastar_add_test (slab
+# SOURCES slab_test.cc
+# NO_SEASTAR_TESTING_LIBRARY)
+
+seastar_add_test (smp
+ SOURCES smp_test.cc
+ NO_SEASTAR_TESTING_LIBRARY)
+
+seastar_add_test (sstring
+ SOURCES sstring_test.cc)
+
+seastar_add_test (stall_detector
+ SOURCES stall_detector_test.cc)
+
+seastar_add_test (thread
+ SOURCES thread_test.cc)
+
+seastar_add_test (thread_context_switch
+ SOURCES thread_context_switch_test.cc
+ NO_SEASTAR_TESTING_LIBRARY)
+
+seastar_add_test (timer
+ SOURCES timer_test.cc
+ NO_SEASTAR_TESTING_LIBRARY)
+
+set (tls_certificate_files
+ catest.key
+ catest.pem
+ tls-ca-bundle.pem
+ test.crl
+ test.crt
+ test.csr
+ test.key)
+
+prepend_each (
+ in_tls_certificate_files
+ ${CMAKE_CURRENT_SOURCE_DIR}/
+ ${tls_certificate_files})
+
+prepend_each (
+ out_tls_certificate_files
+ ${CMAKE_CURRENT_BINARY_DIR}/
+ ${tls_certificate_files})
+
+add_custom_command (
+ DEPENDS ${in_tls_certificate_files}
+ OUTPUT ${out_tls_certificate_files}
+ COMMAND ${CMAKE_COMMAND} -E copy ${in_tls_certificate_files} ${CMAKE_CURRENT_BINARY_DIR})
+
+# TODO: Disabled for now. See GH-514.
+# seastar_add_test (tls
+# DEPENDS ${out_tls_certificate_files}
+# SOURCES tls_test.cc
+# WORKING_DIRECTORY ${Seastar_BINARY_DIR})
+
+seastar_add_test (tuple_utils
+ SOURCES tuple_utils_test.cc)
+
+seastar_add_test (unwind
+ SOURCES unwind_test.cc)
+
+seastar_add_test (weak_ptr
+ SOURCES weak_ptr_test.cc)
diff --git a/src/seastar/tests/unit/abort_source_test.cc b/src/seastar/tests/unit/abort_source_test.cc
new file mode 100644
index 00000000..9dbc3bb4
--- /dev/null
+++ b/src/seastar/tests/unit/abort_source_test.cc
@@ -0,0 +1,77 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2017 ScyllaDB
+ */
+
+#include <seastar/testing/test_case.hh>
+
+#include <seastar/core/gate.hh>
+#include <seastar/core/sleep.hh>
+
+using namespace seastar;
+using namespace std::chrono_literals;
+
+SEASTAR_TEST_CASE(test_abort_source_notifies_subscriber) {
+ bool signalled = false;
+ auto as = abort_source();
+ auto st_opt = as.subscribe([&signalled] {
+ signalled = true;
+ });
+ BOOST_REQUIRE_EQUAL(true, bool(st_opt));
+ as.request_abort();
+ BOOST_REQUIRE_EQUAL(true, signalled);
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(test_abort_source_subscription_unregister) {
+ bool signalled = false;
+ auto as = abort_source();
+ auto st_opt = as.subscribe([&signalled] {
+ signalled = true;
+ });
+ BOOST_REQUIRE_EQUAL(true, bool(st_opt));
+ st_opt = { };
+ as.request_abort();
+ BOOST_REQUIRE_EQUAL(false, signalled);
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(test_abort_source_rejects_subscription) {
+ auto as = abort_source();
+ as.request_abort();
+ auto st_opt = as.subscribe([] { });
+ BOOST_REQUIRE_EQUAL(false, bool(st_opt));
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(test_sleep_abortable) {
+ auto as = std::make_unique<abort_source>();
+ auto f = sleep_abortable(100s, *as).then_wrapped([] (auto&& f) {
+ try {
+ f.get();
+ BOOST_FAIL("should have failed");
+ } catch (const sleep_aborted& e) {
+ // expected
+ } catch (...) {
+ BOOST_FAIL("unexpected exception");
+ }
+ });
+ as->request_abort();
+ return f.finally([as = std::move(as)] { });
+}
diff --git a/src/seastar/tests/unit/alien_test.cc b/src/seastar/tests/unit/alien_test.cc
new file mode 100644
index 00000000..cc4e3126
--- /dev/null
+++ b/src/seastar/tests/unit/alien_test.cc
@@ -0,0 +1,106 @@
+// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2018 Red Hat
+ */
+
+#include <future>
+#include <numeric>
+#include <iostream>
+#include <seastar/core/alien.hh>
+#include <seastar/core/app-template.hh>
+#include <seastar/core/posix.hh>
+#include <seastar/core/reactor.hh>
+
+using namespace seastar;
+
+enum {
+ ENGINE_READY = 24,
+ ALIEN_DONE = 42,
+};
+
+int main(int argc, char** argv)
+{
+ // we need a protocol that both seastar and alien understand.
+ // and on which, a seastar future can wait.
+ int engine_ready_fd = eventfd(0, 0);
+ auto alien_done = file_desc::eventfd(0, 0);
+
+ // use the raw fd, because seastar engine want to take over the fds, if it
+ // polls on them.
+ auto zim = std::async([engine_ready_fd,
+ alien_done=alien_done.get()] {
+ eventfd_t result = 0;
+ // wait until the seastar engine is ready
+ int r = ::eventfd_read(engine_ready_fd, &result);
+ if (r < 0) {
+ return -EINVAL;
+ }
+ if (result != ENGINE_READY) {
+ return -EINVAL;
+ }
+ std::vector<std::future<int>> counts;
+ for (auto i : boost::irange(0u, smp::count)) {
+ // send messages from alien.
+ counts.push_back(alien::submit_to(i, [i] {
+ return seastar::make_ready_future<int>(i);
+ }));
+ }
+ int total = 0;
+ for (auto& count : counts) {
+ total += count.get();
+ }
+ // i am done. dismiss the engine
+ ::eventfd_write(alien_done, ALIEN_DONE);
+ return total;
+ });
+
+ seastar::app_template app;
+ seastar::pollable_fd_state alien_done_fds{std::move(alien_done)};
+ eventfd_t result = 0;
+ app.run(argc, argv, [&] {
+ return seastar::now().then([engine_ready_fd] {
+ // engine ready!
+ ::eventfd_write(engine_ready_fd, ENGINE_READY);
+ return seastar::now();
+ }).then([&alien_done_fds, &result]() {
+ // check if alien has dismissed me.
+ return seastar::engine().read_some(alien_done_fds, &result, sizeof(result));
+ }).then([&result](size_t n) {
+ if (n != sizeof(result)) {
+ throw std::runtime_error("read from eventfd failed");
+ }
+ if (result != ALIEN_DONE) {
+ throw std::logic_error("alien failed to dismiss me");
+ }
+ return seastar::now();
+ }).handle_exception([](auto ep) {
+ std::cerr << "Error: " << ep << std::endl;
+ }).finally([] {
+ seastar::engine().exit(0);
+ });
+ });
+ int total = zim.get();
+ const auto shards = boost::irange(0u, smp::count);
+ auto expected = std::accumulate(std::begin(shards), std::end(shards), 0);
+ if (total != expected) {
+ std::cerr << "Bad total: " << total << " != " << expected << std::endl;
+ return 1;
+ }
+}
diff --git a/src/seastar/tests/unit/alloc_test.cc b/src/seastar/tests/unit/alloc_test.cc
new file mode 100644
index 00000000..41cb09a4
--- /dev/null
+++ b/src/seastar/tests/unit/alloc_test.cc
@@ -0,0 +1,69 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2015 Cloudius Systems, Ltd.
+ */
+
+#include <seastar/testing/test_case.hh>
+#include <seastar/core/memory.hh>
+#include <seastar/core/reactor.hh>
+#include <vector>
+
+using namespace seastar;
+
+SEASTAR_TEST_CASE(alloc_almost_all_and_realloc_it_with_a_smaller_size) {
+#ifndef SEASTAR_DEFAULT_ALLOCATOR
+ auto all = memory::stats().total_memory();
+ auto reserve = size_t(0.02 * all);
+ auto to_alloc = all - (reserve + (10 << 20));
+ auto orig_to_alloc = to_alloc;
+ auto obj = malloc(to_alloc);
+ while (!obj) {
+ to_alloc *= 0.9;
+ obj = malloc(to_alloc);
+ }
+ BOOST_REQUIRE(to_alloc > orig_to_alloc / 4);
+ BOOST_REQUIRE(obj != nullptr);
+ auto obj2 = realloc(obj, to_alloc - (1 << 20));
+ BOOST_REQUIRE(obj == obj2);
+ free(obj2);
+#endif
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(malloc_0_and_free_it) {
+#ifndef SEASTAR_DEFAULT_ALLOCATOR
+ auto obj = malloc(0);
+ BOOST_REQUIRE(obj != nullptr);
+ free(obj);
+#endif
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(test_live_objects_counter_with_cross_cpu_free) {
+ return smp::submit_to(1, [] {
+ auto ret = std::vector<std::unique_ptr<bool>>(1000000);
+ for (auto& o : ret) {
+ o = std::make_unique<bool>(false);
+ }
+ return ret;
+ }).then([] (auto&& vec) {
+ vec.clear(); // cause cross-cpu free
+ BOOST_REQUIRE(memory::stats().live_objects() < std::numeric_limits<size_t>::max() / 2);
+ });
+}
diff --git a/src/seastar/tests/unit/allocator_test.cc b/src/seastar/tests/unit/allocator_test.cc
new file mode 100644
index 00000000..c0d93210
--- /dev/null
+++ b/src/seastar/tests/unit/allocator_test.cc
@@ -0,0 +1,235 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright 2014 Cloudius Systems
+ */
+
+#include <seastar/core/memory.hh>
+#include <seastar/core/timer.hh>
+#include <random>
+#include <cmath>
+#include <iostream>
+#include <iomanip>
+#include <algorithm>
+#include <cassert>
+#include <memory>
+#include <chrono>
+#include <boost/program_options.hpp>
+
+using namespace seastar;
+
+template <size_t N>
+void test_aligned_allocator() {
+#ifdef __cpp_aligned_new
+ using aptr = std::unique_ptr<char[]>;
+ std::vector<aptr> v;
+ for (unsigned i = 0; i < 1000; ++i) {
+ aptr p(new (std::align_val_t(64)) char[N]);
+ assert(reinterpret_cast<uintptr_t>(p.get()) % 64 == 0);
+ v.push_back(std::move(p));
+ }
+#endif
+}
+
+struct allocation {
+ size_t n;
+ std::unique_ptr<char[]> data;
+ char poison;
+ allocation(size_t n, char poison) : n(n), data(new char[n]), poison(poison) {
+ std::fill_n(data.get(), n, poison);
+ }
+ ~allocation() {
+ verify();
+ }
+ allocation(allocation&& x) noexcept = default;
+ void verify() {
+ if (data) {
+ assert(std::find_if(data.get(), data.get() + n, [this] (char c) {
+ return c != poison;
+ }) == data.get() + n);
+ }
+ }
+ allocation& operator=(allocation&& x) {
+ verify();
+ if (this != &x) {
+ data = std::move(x.data);
+ n = x.n;
+ poison = x.poison;
+ }
+ return *this;
+ }
+};
+
+#ifdef __cpp_aligned_new
+
+template <size_t N>
+struct alignas(N) cpp17_allocation final {
+ char v;
+};
+
+struct test17 {
+ struct handle {
+ const test17* d;
+ void* p;
+ handle(const test17* d, void* p) : d(d), p(p) {}
+ handle(const handle&) = delete;
+ handle(handle&& x) noexcept : d(std::exchange(x.d, nullptr)), p(std::exchange(x.p, nullptr)) {}
+ handle& operator=(const handle&) = delete;
+ handle& operator=(handle&& x) noexcept {
+ std::swap(d, x.d);
+ std::swap(p, x.p);
+ return *this;
+ }
+ ~handle() {
+ if (d) {
+ d->free(p);
+ }
+ }
+ };
+ virtual ~test17() {}
+ virtual handle alloc() const = 0;
+ virtual void free(void* ptr) const = 0;
+};
+
+template <size_t N>
+struct test17_concrete : test17 {
+ using value_type = cpp17_allocation<N>;
+ static_assert(sizeof(value_type) == N, "language does not guarantee size >= align");
+ virtual handle alloc() const override {
+ auto ptr = new value_type();
+ assert((reinterpret_cast<uintptr_t>(ptr) & (N - 1)) == 0);
+ return handle{this, ptr};
+ }
+ virtual void free(void* ptr) const override {
+ delete static_cast<value_type*>(ptr);
+ }
+};
+
+void test_cpp17_aligned_allocator() {
+ std::vector<std::unique_ptr<test17>> tv;
+ tv.push_back(std::make_unique<test17_concrete<1>>());
+ tv.push_back(std::make_unique<test17_concrete<2>>());
+ tv.push_back(std::make_unique<test17_concrete<4>>());
+ tv.push_back(std::make_unique<test17_concrete<8>>());
+ tv.push_back(std::make_unique<test17_concrete<16>>());
+ tv.push_back(std::make_unique<test17_concrete<64>>());
+ tv.push_back(std::make_unique<test17_concrete<128>>());
+ tv.push_back(std::make_unique<test17_concrete<2048>>());
+ tv.push_back(std::make_unique<test17_concrete<4096>>());
+ tv.push_back(std::make_unique<test17_concrete<4096*16>>());
+ tv.push_back(std::make_unique<test17_concrete<4096*256>>());
+
+ std::default_random_engine random_engine;
+ std::uniform_int_distribution<> type_dist(0, 1);
+ std::uniform_int_distribution<size_t> size_dist(0, tv.size() - 1);
+ std::uniform_real_distribution<> which_dist(0, 1);
+
+ std::vector<test17::handle> allocs;
+ for (unsigned i = 0; i < 10000; ++i) {
+ auto type = type_dist(random_engine);
+ switch (type) {
+ case 0: {
+ size_t sz_idx = size_dist(random_engine);
+ allocs.push_back(tv[sz_idx]->alloc());
+ break;
+ }
+ case 1:
+ if (!allocs.empty()) {
+ size_t idx = which_dist(random_engine) * allocs.size();
+ std::swap(allocs[idx], allocs.back());
+ allocs.pop_back();
+ }
+ break;
+ }
+ }
+}
+
+#else
+
+void test_cpp17_aligned_allocator() {
+}
+
+#endif
+
+int main(int ac, char** av) {
+ namespace bpo = boost::program_options;
+ bpo::options_description opts("Allowed options");
+ opts.add_options()
+ ("help", "produce this help message")
+ ("iterations", bpo::value<unsigned>(), "run s specified number of iterations")
+ ("time", bpo::value<float>()->default_value(5.0), "run for a specified amount of time, in seconds")
+ ;
+ bpo::variables_map vm;
+ bpo::store(bpo::parse_command_line(ac, av, opts), vm);
+ bpo::notify(vm);
+ test_aligned_allocator<1>();
+ test_aligned_allocator<4>();
+ test_aligned_allocator<80>();
+ test_cpp17_aligned_allocator();
+ std::default_random_engine random_engine;
+ std::exponential_distribution<> distr(0.2);
+ std::uniform_int_distribution<> type(0, 1);
+ std::uniform_int_distribution<char> poison(-128, 127);
+ std::uniform_real_distribution<> which(0, 1);
+ std::vector<allocation> allocations;
+ auto iteration = [&] {
+ auto typ = type(random_engine);
+ switch (typ) {
+ case 0: {
+ auto n = std::min<size_t>(std::exp(distr(random_engine)), 1 << 25);
+ try {
+ allocations.emplace_back(n, poison(random_engine));
+ } catch (std::bad_alloc&) {
+
+ }
+ break;
+ }
+ case 1: {
+ if (allocations.empty()) {
+ break;
+ }
+ size_t i = which(random_engine) * allocations.size();
+ allocations[i] = std::move(allocations.back());
+ allocations.pop_back();
+ break;
+ }
+ }
+ };
+ if (vm.count("help")) {
+ std::cout << opts << "\n";
+ return 1;
+ }
+ if (vm.count("iterations")) {
+ auto iterations = vm["iterations"].as<unsigned>();
+ for (unsigned i = 0; i < iterations; ++i) {
+ iteration();
+ }
+ } else {
+ auto time = vm["time"].as<float>();
+ using clock = steady_clock_type;
+ auto end = clock::now() + std::chrono::duration_cast<std::chrono::nanoseconds>(std::chrono::seconds(1) * time);
+ while (clock::now() < end) {
+ for (unsigned i = 0; i < 1000; ++i) {
+ iteration();
+ }
+ }
+ }
+ return 0;
+}
+
+
diff --git a/src/seastar/tests/unit/catest.key b/src/seastar/tests/unit/catest.key
new file mode 100644
index 00000000..145d2742
--- /dev/null
+++ b/src/seastar/tests/unit/catest.key
@@ -0,0 +1,51 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIJKQIBAAKCAgEA3sDA2IyU3JOmKi4smlra990pXSVgSqIYTEx8FH7FZxx1b7Cz
+9DrPPFOULpWtW0iYs7mw7QyFEc1uUNB/IkRapq4btifG6XRahdhZH7eXi9+rmhhl
+TGqKo9B979L+8tgkpljAVdwaQ101xiQWvTVIF7LvCCW3mma/xB+oc6yDnJjN4lT8
+/4bQzhsG6rGIO2sT34Wj84lurE6NcQSlE7Q5cR2fZxH/CVQuD0Qh+KjWe9g/WAN2
+ZXs3DQ1I5llqBBk4NkyRlm/e6lU9s5nPT2xu0zKCC/NubRxtI3QUWGAVA4F2NDVW
+NYEw6S3wxwxbMCOK/2jgxyGj9A653hk8T5347qVb13jhT5hdFg/o6DpG5rbR/tPO
+enfn6dJvRIILjIDCsWXwrnPr1AN74lP5TyJBTXaLZk70NS5Oh/WCtjhtlBeHxJ6x
+x5u9E+wuNP1a8SRB0xg/dsVlv8Vq/T9pxCbCqXuDokAOMK/gjhmFA4pt7N/SY8tv
+k7Hi7Qa+kaKffWR9K8Vsix1gUYP3aRn/Zwk6drcs3TmakHPVdTJm96zRJw6y1ud3
+d3DTOp/gdVQTdvJ6HoJ1foaIpKvDsSwVRjaCpSfDhuDzVrsCqAlFzcGZX48Hoj4g
+jDhP51S/uYONH/66+jBPup5/QX71ayhnvlFgSEc59LZIXwuvPvNZ2Q5zTMcC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de1llhV7zIXTwKCAQAqJZEOjddxXHNsBFU0K+VSkcHj
+UBUwuKYmaH11lJ5GVapJOsFhtAuyghtGi0h5ufWVKnBJO+autOoh7thmROkGm+YB
+hehO4FvZFhvS2RLWG1Oe8ALG52xRi5PkF/bLg3wn5/V2CtgcuG/St2LK2pEyzXty
+Z7jWxhTcQa51RfoN6yVvr7dBp1967Kt5iZ30lNrJIiLOXUVaupxXfBPj6oSXqKnP
+HNBUSgt64X2TccVVBDQxqeKe83XvySXldfSuckNtXmgOCdq/j1wrYvCSmyeuNZnu
+jK9O4mDTMdFIVtVkG/q1Bs/ohhyb5ZFy1ifFNCER9quF5701zUmPuIrFPDx0
+-----END RSA PRIVATE KEY-----
diff --git a/src/seastar/tests/unit/catest.pem b/src/seastar/tests/unit/catest.pem
new file mode 100644
index 00000000..5c8b0594
--- /dev/null
+++ b/src/seastar/tests/unit/catest.pem
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFzDCCA7QCCQDMNOfV+wKafTANBgkqhkiG9w0BAQUFADCBpzELMAkGA1UEBhMC
+U0UxEjAQBgNVBAgMCVN0b2NraG9sbTESMBAGA1UEBwwJU3RvY2tob2xtMRUwEwYD
+VQQKDAxzY3lsbGFkYi5vcmcxFTATBgNVBAsMDHNjeWxsYWRiLm9yZzEaMBgGA1UE
+AwwRdGVzdC5zY3lsbGFkYi5vcmcxJjAkBgkqhkiG9w0BCQEWF3Bvc3RtYXN0ZXJA
+c2N5bGxhZGIub3JnMB4XDTE1MTIwOTA2MTY0NVoXDTI1MTIwNjA2MTY0NVowgacx
+CzAJBgNVBAYTAlNFMRIwEAYDVQQIDAlTdG9ja2hvbG0xEjAQBgNVBAcMCVN0b2Nr
+aG9sbTEVMBMGA1UECgwMc2N5bGxhZGIub3JnMRUwEwYDVQQLDAxzY3lsbGFkYi5v
+cmcxGjAYBgNVBAMMEXRlc3Quc2N5bGxhZGIub3JnMSYwJAYJKoZIhvcNAQkBFhdw
+b3N0bWFzd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VZct6HuF+e9D+4LsPr8x353TP2k7y4dlLm
+A0fpiip/zRJXwiwNsdfjGjt+YefcfPt6sHeRrCZpWqxQvf5GBEXPNsXTRsvWa1Ao
+MxDc4uYj3yh8YvSgMJM+CN8Df8BFyLvM/re3eA/ClfgweTAlcpxs/BZF6kIHaBa4
+LY/vAYSiMCh6wZorzR4FlAIlY2uS+GBylN2gD6IO/mwLYJrKmjIFIB9XXLhyTdNJ
+FBfttmhJCRq2GgwdWmZdIfBgfjBJokoQGH5gyifm150rSFiblPWr0lsSAdXHlQhJ
+Lxw329zNcrVizofz5JwXJZaxOYzP8OBodEc54lE3cC9fYklsAO+1Ba2gNicjk74d
+m0nKgTRND4c+88THYlH2QI1srdeLHClv75qmiuI17tMU5AKEufLEthnxqwqWDW1Q
+-----END CERTIFICATE-----
diff --git a/src/seastar/tests/unit/checked_ptr_test.cc b/src/seastar/tests/unit/checked_ptr_test.cc
new file mode 100644
index 00000000..d4de8908
--- /dev/null
+++ b/src/seastar/tests/unit/checked_ptr_test.cc
@@ -0,0 +1,107 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/*
+ * Copyright 2016 ScyllaDB
+ */
+
+#define BOOST_TEST_MODULE core
+
+#include <boost/test/included/unit_test.hpp>
+#include <seastar/core/checked_ptr.hh>
+#include <seastar/core/weak_ptr.hh>
+
+using namespace seastar;
+
+struct my_st : public weakly_referencable<my_st> {
+ my_st(int a_) : a(a_) {}
+ int a;
+};
+
+void const_ref_check_naked(const seastar::checked_ptr<my_st*>& cp) {
+ BOOST_REQUIRE(bool(cp));
+ BOOST_REQUIRE((*cp).a == 3);
+ BOOST_REQUIRE(cp->a == 3);
+ BOOST_REQUIRE(cp.get()->a == 3);
+}
+
+void const_ref_check_smart(const seastar::checked_ptr<::weak_ptr<my_st>>& cp) {
+ BOOST_REQUIRE(bool(cp));
+ BOOST_REQUIRE((*cp).a == 3);
+ BOOST_REQUIRE(cp->a == 3);
+ BOOST_REQUIRE(cp.get()->a == 3);
+}
+
+BOOST_AUTO_TEST_CASE(test_checked_ptr_is_empty_when_default_initialized) {
+ seastar::checked_ptr<int*> cp;
+ BOOST_REQUIRE(!bool(cp));
+}
+
+BOOST_AUTO_TEST_CASE(test_checked_ptr_is_empty_when_nullptr_initialized_nakes_ptr) {
+ seastar::checked_ptr<int*> cp = nullptr;
+ BOOST_REQUIRE(!bool(cp));
+}
+
+BOOST_AUTO_TEST_CASE(test_checked_ptr_is_empty_when_nullptr_initialized_smart_ptr) {
+ seastar::checked_ptr<::weak_ptr<my_st>> cp = nullptr;
+ BOOST_REQUIRE(!bool(cp));
+}
+
+BOOST_AUTO_TEST_CASE(test_checked_ptr_is_initialized_after_assignment_naked_ptr) {
+ seastar::checked_ptr<my_st*> cp = nullptr;
+ BOOST_REQUIRE(!bool(cp));
+ my_st i(3);
+ my_st k(3);
+ cp = &i;
+ seastar::checked_ptr<my_st*> cp1(&i);
+ seastar::checked_ptr<my_st*> cp2(&k);
+ BOOST_REQUIRE(bool(cp));
+ BOOST_REQUIRE(cp == cp1);
+ BOOST_REQUIRE(cp != cp2);
+ BOOST_REQUIRE((*cp).a == 3);
+ BOOST_REQUIRE(cp->a == 3);
+ BOOST_REQUIRE(cp.get()->a == 3);
+
+ const_ref_check_naked(cp);
+
+ cp = nullptr;
+ BOOST_REQUIRE(!bool(cp));
+}
+
+BOOST_AUTO_TEST_CASE(test_checked_ptr_is_initialized_after_assignment_smart_ptr) {
+ seastar::checked_ptr<::weak_ptr<my_st>> cp = nullptr;
+ BOOST_REQUIRE(!bool(cp));
+ std::unique_ptr<my_st> i = std::make_unique<my_st>(3);
+ cp = i->weak_from_this();
+ seastar::checked_ptr<::weak_ptr<my_st>> cp1(i->weak_from_this());
+ seastar::checked_ptr<::weak_ptr<my_st>> cp2;
+ BOOST_REQUIRE(bool(cp));
+ BOOST_REQUIRE(cp == cp1);
+ BOOST_REQUIRE(cp != cp2);
+ BOOST_REQUIRE((*cp).a == 3);
+ BOOST_REQUIRE(cp->a == 3);
+ BOOST_REQUIRE(cp.get()->a == 3);
+
+ const_ref_check_smart(cp);
+
+ i = nullptr;
+ BOOST_REQUIRE(!bool(cp));
+ BOOST_REQUIRE(!bool(cp1));
+ BOOST_REQUIRE(!bool(cp2));
+}
+
diff --git a/src/seastar/tests/unit/chunked_fifo_test.cc b/src/seastar/tests/unit/chunked_fifo_test.cc
new file mode 100644
index 00000000..584a3da9
--- /dev/null
+++ b/src/seastar/tests/unit/chunked_fifo_test.cc
@@ -0,0 +1,338 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2016 ScyllaDB Ltd.
+ */
+
+
+#define BOOST_TEST_MODULE core
+
+#include <boost/test/included/unit_test.hpp>
+#include <seastar/core/chunked_fifo.hh>
+#include <stdlib.h>
+#include <chrono>
+#include <deque>
+#include <seastar/core/circular_buffer.hh>
+
+using namespace seastar;
+
+BOOST_AUTO_TEST_CASE(chunked_fifo_small) {
+ // Check all the methods of chunked_fifo but with a trivial type (int) and
+ // only a few elements - and in particular a single chunk is enough.
+ chunked_fifo<int> fifo;
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), true);
+ fifo.push_back(3);
+ BOOST_REQUIRE_EQUAL(fifo.size(), 1u);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), false);
+ BOOST_REQUIRE_EQUAL(fifo.front(), 3);
+ fifo.push_back(17);
+ BOOST_REQUIRE_EQUAL(fifo.size(), 2u);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), false);
+ BOOST_REQUIRE_EQUAL(fifo.front(), 3);
+ fifo.pop_front();
+ BOOST_REQUIRE_EQUAL(fifo.size(), 1u);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), false);
+ BOOST_REQUIRE_EQUAL(fifo.front(), 17);
+ fifo.pop_front();
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), true);
+ // The previously allocated chunk should have been freed, and now
+ // a new one will need to be allocated:
+ fifo.push_back(57);
+ BOOST_REQUIRE_EQUAL(fifo.size(), 1u);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), false);
+ BOOST_REQUIRE_EQUAL(fifo.front(), 57);
+ // check miscelleneous methods (at least they shouldn't crash)
+ fifo.clear();
+ fifo.shrink_to_fit();
+ fifo.reserve(1);
+ fifo.reserve(100);
+ fifo.reserve(1280);
+ fifo.shrink_to_fit();
+ fifo.reserve(1280);
+}
+
+BOOST_AUTO_TEST_CASE(chunked_fifo_fullchunk) {
+ // Grow a chunked_fifo to exactly fill a chunk, and see what happens when
+ // we cross that chunk.
+ constexpr size_t N = 128;
+ chunked_fifo<int, N> fifo;
+ for (int i = 0; i < static_cast<int>(N); i++) {
+ fifo.push_back(i);
+ }
+ BOOST_REQUIRE_EQUAL(fifo.size(), N);
+ fifo.push_back(N);
+ BOOST_REQUIRE_EQUAL(fifo.size(), N+1);
+ for (int i = 0 ; i < static_cast<int>(N+1); i++) {
+ BOOST_REQUIRE_EQUAL(fifo.front(), i);
+ BOOST_REQUIRE_EQUAL(fifo.size(), N+1-i);
+ fifo.pop_front();
+ }
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), true);
+}
+
+BOOST_AUTO_TEST_CASE(chunked_fifo_big) {
+ // Grow a chunked_fifo to many elements, and see things are working as
+ // expected
+ chunked_fifo<int> fifo;
+ constexpr size_t N = 100'000;
+ for (int i=0; i < static_cast<int>(N); i++) {
+ fifo.push_back(i);
+ }
+ BOOST_REQUIRE_EQUAL(fifo.size(), N);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), false);
+ for (int i = 0 ; i < static_cast<int>(N); i++) {
+ BOOST_REQUIRE_EQUAL(fifo.front(), i);
+ BOOST_REQUIRE_EQUAL(fifo.size(), N-i);
+ fifo.pop_front();
+ }
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), true);
+}
+
+BOOST_AUTO_TEST_CASE(chunked_fifo_constructor) {
+ // Check that chunked_fifo appropriately calls the type's constructor
+ // and destructor, and doesn't need anything else.
+ struct typ {
+ int val;
+ unsigned* constructed;
+ unsigned* destructed;
+ typ(int val, unsigned* constructed, unsigned* destructed)
+ : val(val), constructed(constructed), destructed(destructed) {
+ ++*constructed;
+ }
+ ~typ() { ++*destructed; }
+ };
+ chunked_fifo<typ> fifo;
+ unsigned constructed = 0, destructed = 0;
+ constexpr unsigned N = 1000;
+ for (unsigned i = 0; i < N; i++) {
+ fifo.emplace_back(i, &constructed, &destructed);
+ }
+ BOOST_REQUIRE_EQUAL(fifo.size(), N);
+ BOOST_REQUIRE_EQUAL(constructed, N);
+ BOOST_REQUIRE_EQUAL(destructed, 0u);
+ for (unsigned i = 0 ; i < N; i++) {
+ BOOST_REQUIRE_EQUAL(fifo.front().val, static_cast<int>(i));
+ BOOST_REQUIRE_EQUAL(fifo.size(), N-i);
+ fifo.pop_front();
+ BOOST_REQUIRE_EQUAL(destructed, i+1);
+ }
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), true);
+ // Check that destructing a fifo also destructs the objects it still
+ // contains
+ constructed = destructed = 0;
+ {
+ chunked_fifo<typ> fifo;
+ for (unsigned i = 0; i < N; i++) {
+ fifo.emplace_back(i, &constructed, &destructed);
+ BOOST_REQUIRE_EQUAL(fifo.front().val, 0);
+ BOOST_REQUIRE_EQUAL(fifo.size(), i+1);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), false);
+ BOOST_REQUIRE_EQUAL(constructed, i+1);
+ BOOST_REQUIRE_EQUAL(destructed, 0u);
+ }
+ }
+ BOOST_REQUIRE_EQUAL(constructed, N);
+ BOOST_REQUIRE_EQUAL(destructed, N);
+}
+
+BOOST_AUTO_TEST_CASE(chunked_fifo_construct_fail) {
+ // Check that if we fail to construct the item pushed, the queue remains
+ // empty.
+ class my_exception {};
+ struct typ {
+ typ() {
+ throw my_exception();
+ }
+ };
+ chunked_fifo<typ> fifo;
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), true);
+ try {
+ fifo.emplace_back();
+ } catch(my_exception) {
+ // expected, ignore
+ }
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), true);
+}
+
+BOOST_AUTO_TEST_CASE(chunked_fifo_construct_fail2) {
+ // A slightly more elaborate test, with a chunk size of 2
+ // items, and the third addition failing, so the question is
+ // not whether empty() is wrong immediately, but whether after
+ // we pop the two items, it will become true or we'll be left
+ // with an empty chunk.
+ class my_exception {};
+ struct typ {
+ typ(bool fail) {
+ if (fail) {
+ throw my_exception();
+ }
+ }
+ };
+ chunked_fifo<typ, 2> fifo;
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), true);
+ fifo.emplace_back(false);
+ fifo.emplace_back(false);
+ try {
+ fifo.emplace_back(true);
+ } catch(my_exception) {
+ // expected, ignore
+ }
+ BOOST_REQUIRE_EQUAL(fifo.size(), 2u);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), false);
+ fifo.pop_front();
+ BOOST_REQUIRE_EQUAL(fifo.size(), 1u);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), false);
+ fifo.pop_front();
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+ BOOST_REQUIRE_EQUAL(fifo.empty(), true);
+}
+
+// Enable the following to run some benchmarks on different queue options
+#if 0
+// Unfortunately, C++ lacks the trivial feature of converting a type's name,
+// in compile time, to a string (akin to the C preprocessor's "#" feature).
+// Here is a neat trick to replace it - use typeinfo<T>::name() or
+// type_name<T>() to get a constant string name of the type.
+#include <cxxabi.h>
+template <typename T>
+class typeinfo {
+private:
+ static const char *_name;
+public:
+ static const char *name() {
+ int status;
+ if (!_name)
+ _name = abi::__cxa_demangle(typeid(T).name(), 0, 0, &status);
+ return _name;
+ }
+};
+template<typename T> const char *typeinfo<T>::_name = nullptr;
+template<typename T> const char *type_name() {
+ return typeinfo<T>::name();
+}
+
+
+template<typename FIFO_TYPE> void
+benchmark_random_push_pop() {
+ // A test involving a random sequence of pushes and pops. Because the
+ // random walk is bounded the 0 end (the queue cannot be popped after
+ // being empty), the queue's expected length at the end of the test is
+ // not zero.
+ // The test uses the same random sequence each time so can be used for
+ // benchmarking different queue implementations on the same sequence.
+ constexpr int N = 1'000'000'000;
+ FIFO_TYPE fifo;
+ unsigned int seed = 0;
+ int entropy = 0;
+ auto start = std::chrono::high_resolution_clock::now();
+ for (int i = 0; i < N; i++) {
+ if (!entropy) {
+ entropy = rand_r(&seed);
+ }
+ if (entropy & 1) {
+ fifo.push_back(i);
+ } else {
+ if (!fifo.empty()) {
+ fifo.pop_front();
+ }
+ }
+ entropy >>= 1;
+ }
+ auto end = std::chrono::high_resolution_clock::now();
+ auto ms = std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count();
+ std::cerr << type_name<FIFO_TYPE>() << ", " << N << " random push-and-pop " << fifo.size() << " " << ms << "ms.\n";
+}
+
+template<typename FIFO_TYPE> void
+benchmark_push_pop() {
+ // A benchmark involving repeated push and then pop to a queue, which
+ // will have 0 or 1 items at all times.
+ constexpr int N = 1'000'000'000;
+ FIFO_TYPE fifo;
+ auto start = std::chrono::high_resolution_clock::now();
+ for (int i = 0; i < N; i++) {
+ fifo.push_back(1);
+ fifo.pop_front();
+ }
+ auto end = std::chrono::high_resolution_clock::now();
+ auto ms = std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count();
+ std::cerr << type_name<FIFO_TYPE>() << ", " << N << " push-and-pop " << ms << "ms.\n";
+}
+
+template<typename FIFO_TYPE> void
+benchmark_push_pop_k() {
+ // A benchmark involving repeated pushes of a few items and then popping
+ // to a queue, which will have just one chunk (or 0) at all times.
+ constexpr int N = 1'000'000'000;
+ constexpr int K = 100;
+ FIFO_TYPE fifo;
+ auto start = std::chrono::high_resolution_clock::now();
+ for (int i = 0; i < N/K; i++) {
+ for(int j = 0; j < K; j++) {
+ fifo.push_back(j);
+ }
+ for(int j = 0; j < K; j++) {
+ fifo.pop_front();
+ }
+ }
+ auto end = std::chrono::high_resolution_clock::now();
+ auto ms = std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count();
+ std::cerr << type_name<FIFO_TYPE>() << ", " << N << " push-and-pop-" << K << " " << ms << "ms.\n";
+}
+
+template<typename FIFO_TYPE> void
+benchmark_pushes_pops() {
+ // A benchmark of pushing a lot of items, and then popping all of them
+ constexpr int N = 100'000'000;
+ FIFO_TYPE fifo;
+ auto start = std::chrono::high_resolution_clock::now();
+ for (int i = 0; i < N; i++) {
+ fifo.push_back(1);
+ }
+ for (int i = 0; i < N; i++) {
+ fifo.pop_front();
+ }
+ auto end = std::chrono::high_resolution_clock::now();
+ auto ms = std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count();
+ std::cerr << type_name<FIFO_TYPE>() << ", " << N << " push-all-then-pop-all " << ms << "ms.\n";
+}
+
+template<typename FIFO_TYPE> void
+benchmark_all() {
+ std::cerr << "\n --- " << type_name<FIFO_TYPE>() << ": \n";
+ benchmark_random_push_pop<FIFO_TYPE>();
+ benchmark_push_pop<FIFO_TYPE>();
+ benchmark_push_pop_k<FIFO_TYPE>();
+ benchmark_pushes_pops<FIFO_TYPE>();
+}
+
+BOOST_AUTO_TEST_CASE(chunked_fifo_benchmark) {
+ benchmark_all<chunked_fifo<int>>();
+ benchmark_all<circular_buffer<int>>();
+ benchmark_all<std::deque<int>>();
+ benchmark_all<std::list<int>>();
+}
+#endif
diff --git a/src/seastar/tests/unit/circular_buffer_fixed_capacity_test.cc b/src/seastar/tests/unit/circular_buffer_fixed_capacity_test.cc
new file mode 100644
index 00000000..43b84ed9
--- /dev/null
+++ b/src/seastar/tests/unit/circular_buffer_fixed_capacity_test.cc
@@ -0,0 +1,124 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2017 ScyllaDB Ltd.
+ */
+
+
+#define BOOST_TEST_MODULE core
+
+#include <boost/test/included/unit_test.hpp>
+#include <deque>
+#include <random>
+#include <seastar/core/circular_buffer_fixed_capacity.hh>
+
+#include <boost/range/algorithm/sort.hpp>
+#include <boost/range/algorithm/equal.hpp>
+#include <boost/range/algorithm/reverse.hpp>
+
+using namespace seastar;
+
+using cb16_t = circular_buffer_fixed_capacity<int, 16>;
+
+
+BOOST_AUTO_TEST_CASE(test_edge_cases) {
+ cb16_t cb;
+ BOOST_REQUIRE(cb.begin() == cb.end());
+ cb.push_front(3); // underflows indexes
+ BOOST_REQUIRE_EQUAL(cb[0], 3);
+ BOOST_REQUIRE(cb.begin() < cb.end());
+ cb.push_back(4);
+ BOOST_REQUIRE_EQUAL(cb.size(), 2u);
+ BOOST_REQUIRE_EQUAL(cb[0], 3);
+ BOOST_REQUIRE_EQUAL(cb[1], 4);
+ cb.pop_back();
+ BOOST_REQUIRE_EQUAL(cb.back(), 3);
+ cb.push_front(1);
+ cb.pop_back();
+ BOOST_REQUIRE_EQUAL(cb.back(), 1);
+}
+
+using deque = std::deque<int>;
+
+BOOST_AUTO_TEST_CASE(test_random_walk) {
+ auto rand = std::default_random_engine();
+ auto op_gen = std::uniform_int_distribution<unsigned>(0, 6);
+ deque d;
+ cb16_t c;
+ for (auto i = 0; i != 1000000; ++i) {
+ auto op = op_gen(rand);
+ switch (op) {
+ case 0:
+ if (d.size() < 16) {
+ auto n = rand();
+ c.push_back(n);
+ d.push_back(n);
+ }
+ break;
+ case 1:
+ if (d.size() < 16) {
+ auto n = rand();
+ c.push_front(n);
+ d.push_front(n);
+ }
+ break;
+ case 2:
+ if (!d.empty()) {
+ auto n = d.back();
+ auto m = c.back();
+ BOOST_REQUIRE_EQUAL(n, m);
+ c.pop_back();
+ d.pop_back();
+ }
+ break;
+ case 3:
+ if (!d.empty()) {
+ auto n = d.front();
+ auto m = c.front();
+ BOOST_REQUIRE_EQUAL(n, m);
+ c.pop_front();
+ d.pop_front();
+ }
+ break;
+ case 4:
+ boost::sort(c);
+ boost::sort(d);
+ break;
+ case 5:
+ if (!d.empty()) {
+ auto u = std::uniform_int_distribution<size_t>(0, d.size() - 1);
+ auto idx = u(rand);
+ auto m = c[idx];
+ auto n = c[idx];
+ BOOST_REQUIRE_EQUAL(m, n);
+ }
+ break;
+ case 6:
+ c.clear();
+ d.clear();
+ break;
+ case 7:
+ boost::reverse(c);
+ boost::reverse(d);
+ default:
+ abort();
+ }
+ BOOST_REQUIRE_EQUAL(c.size(), d.size());
+ BOOST_REQUIRE(boost::equal(c, d));
+ }
+}
diff --git a/src/seastar/tests/unit/circular_buffer_test.cc b/src/seastar/tests/unit/circular_buffer_test.cc
new file mode 100644
index 00000000..9de0af36
--- /dev/null
+++ b/src/seastar/tests/unit/circular_buffer_test.cc
@@ -0,0 +1,109 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2017 ScyllaDB Ltd.
+ */
+
+
+#define BOOST_TEST_MODULE core
+
+#include <boost/test/included/unit_test.hpp>
+#include <stdlib.h>
+#include <chrono>
+#include <deque>
+#include <seastar/core/circular_buffer.hh>
+
+using namespace seastar;
+
+BOOST_AUTO_TEST_CASE(test_erasing) {
+ circular_buffer<int> buf;
+
+ buf.push_back(3);
+ buf.erase(buf.begin(), buf.end());
+
+ BOOST_REQUIRE(buf.size() == 0);
+ BOOST_REQUIRE(buf.empty());
+
+ buf.push_back(1);
+ buf.push_back(2);
+ buf.push_back(3);
+ buf.push_back(4);
+ buf.push_back(5);
+
+ buf.erase(std::remove_if(buf.begin(), buf.end(), [] (int v) { return (v & 1) == 0; }), buf.end());
+
+ BOOST_REQUIRE(buf.size() == 3);
+ BOOST_REQUIRE(!buf.empty());
+ {
+ auto i = buf.begin();
+ BOOST_REQUIRE_EQUAL(*i++, 1);
+ BOOST_REQUIRE_EQUAL(*i++, 3);
+ BOOST_REQUIRE_EQUAL(*i++, 5);
+ BOOST_REQUIRE(i == buf.end());
+ }
+}
+
+BOOST_AUTO_TEST_CASE(test_erasing_at_beginning_or_end_does_not_invalidate_iterators) {
+ // This guarantee comes from std::deque, which circular_buffer is supposed to mimic.
+
+ circular_buffer<int> buf;
+
+ buf.push_back(1);
+ buf.push_back(2);
+ buf.push_back(3);
+ buf.push_back(4);
+ buf.push_back(5);
+
+ int* ptr_to_3 = &buf[2];
+ auto iterator_to_3 = buf.begin() + 2;
+ assert(*ptr_to_3 == 3);
+ assert(*iterator_to_3 == 3);
+
+ buf.erase(buf.begin(), buf.begin() + 2);
+
+ BOOST_REQUIRE(*ptr_to_3 == 3);
+ BOOST_REQUIRE(*iterator_to_3 == 3);
+
+ buf.erase(buf.begin() + 1, buf.end());
+
+ BOOST_REQUIRE(*ptr_to_3 == 3);
+ BOOST_REQUIRE(*iterator_to_3 == 3);
+
+ BOOST_REQUIRE(buf.size() == 1);
+}
+
+BOOST_AUTO_TEST_CASE(test_erasing_in_the_middle) {
+ circular_buffer<int> buf;
+
+ for (int i = 0; i < 10; ++i) {
+ buf.push_back(i);
+ }
+
+ auto i = buf.erase(buf.begin() + 3, buf.begin() + 6);
+ BOOST_REQUIRE_EQUAL(*i, 6);
+
+ i = buf.begin();
+ BOOST_REQUIRE_EQUAL(*i++, 0);
+ BOOST_REQUIRE_EQUAL(*i++, 1);
+ BOOST_REQUIRE_EQUAL(*i++, 2);
+ BOOST_REQUIRE_EQUAL(*i++, 6);
+ BOOST_REQUIRE_EQUAL(*i++, 7);
+ BOOST_REQUIRE_EQUAL(*i++, 8);
+ BOOST_REQUIRE_EQUAL(*i++, 9);
+ BOOST_REQUIRE(i == buf.end());
+}
diff --git a/src/seastar/tests/unit/connect_test.cc b/src/seastar/tests/unit/connect_test.cc
new file mode 100644
index 00000000..1d7bdcb0
--- /dev/null
+++ b/src/seastar/tests/unit/connect_test.cc
@@ -0,0 +1,75 @@
+#include <seastar/testing/test_case.hh>
+
+#include <seastar/net/ip.hh>
+
+#include <random>
+
+using namespace seastar;
+using namespace net;
+
+SEASTAR_TEST_CASE(test_connection_attempt_is_shutdown) {
+ ipv4_addr server_addr("172.16.0.1");
+ auto unconn = engine().net().socket();
+ auto f = unconn
+ .connect(make_ipv4_address(server_addr))
+ .then_wrapped([] (auto&& f) {
+ try {
+ f.get();
+ BOOST_REQUIRE(false);
+ } catch (...) {}
+ });
+ unconn.shutdown();
+ return f;
+}
+
+SEASTAR_TEST_CASE(test_unconnected_socket_shutsdown_established_connection) {
+ // Use a random port to reduce chance of conflict.
+ // TODO: retry a few times on failure.
+ std::random_device rnd;
+ auto distr = std::uniform_int_distribution<uint16_t>(12000, 65000);
+ auto sa = make_ipv4_address({"127.0.0.1", distr(rnd)});
+ return do_with(engine().net().listen(sa, listen_options()), [sa] (auto& listener) {
+ auto f = listener.accept();
+ auto unconn = engine().net().socket();
+ auto connf = unconn.connect(sa);
+ return connf.then([unconn = std::move(unconn)] (auto&& conn) mutable {
+ unconn.shutdown();
+ return do_with(std::move(conn), [] (auto& conn) {
+ return do_with(conn.output(1), [] (auto& out) {
+ return out.write("ping").then_wrapped([] (auto&& f) {
+ try {
+ f.get();
+ BOOST_REQUIRE(false);
+ } catch (...) {}
+ });
+ });
+ });
+ }).finally([f = std::move(f)] () mutable {
+ return std::move(f);
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_accept_after_abort) {
+ std::random_device rnd;
+ auto distr = std::uniform_int_distribution<uint16_t>(12000, 65000);
+ auto sa = make_ipv4_address({"127.0.0.1", distr(rnd)});
+ return do_with(engine().net().listen(sa, listen_options()), [] (auto& listener) {
+ using ftype = future<connected_socket, socket_address>;
+ promise<ftype> p;
+ future<ftype> done = p.get_future();
+ auto f = listener.accept().then_wrapped([&listener, p = std::move(p)] (auto f) mutable {
+ f.ignore_ready_future();
+ p.set_value(listener.accept());
+ });
+ listener.abort_accept();
+ return done.then([] (ftype f) {
+ return f.then_wrapped([] (ftype f) {
+ BOOST_REQUIRE(f.failed());
+ if (f.available()) {
+ f.ignore_ready_future();
+ }
+ });
+ });
+ });
+}
diff --git a/src/seastar/tests/unit/defer_test.cc b/src/seastar/tests/unit/defer_test.cc
new file mode 100644
index 00000000..b7924569
--- /dev/null
+++ b/src/seastar/tests/unit/defer_test.cc
@@ -0,0 +1,76 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright 2016 ScyllaDB
+ */
+
+#define BOOST_TEST_MODULE core
+
+#include <boost/test/included/unit_test.hpp>
+#include <seastar/util/defer.hh>
+
+using namespace seastar;
+
+BOOST_AUTO_TEST_CASE(test_defer_does_not_run_when_canceled) {
+ bool ran = false;
+ {
+ auto d = defer([&] {
+ ran = true;
+ });
+ d.cancel();
+ }
+ BOOST_REQUIRE(!ran);
+}
+
+BOOST_AUTO_TEST_CASE(test_defer_runs) {
+ bool ran = false;
+ {
+ auto d = defer([&] {
+ ran = true;
+ });
+ }
+ BOOST_REQUIRE(ran);
+}
+
+BOOST_AUTO_TEST_CASE(test_defer_runs_once_when_moved) {
+ int ran = 0;
+ {
+ auto d = defer([&] {
+ ++ran;
+ });
+ {
+ auto d2 = std::move(d);
+ }
+ BOOST_REQUIRE_EQUAL(1, ran);
+ }
+ BOOST_REQUIRE_EQUAL(1, ran);
+}
+
+BOOST_AUTO_TEST_CASE(test_defer_does_not_run_when_moved_after_cancelled) {
+ int ran = 0;
+ {
+ auto d = defer([&] {
+ ++ran;
+ });
+ d.cancel();
+ {
+ auto d2 = std::move(d);
+ }
+ }
+ BOOST_REQUIRE_EQUAL(0, ran);
+}
diff --git a/src/seastar/tests/unit/directory_test.cc b/src/seastar/tests/unit/directory_test.cc
new file mode 100644
index 00000000..30e86962
--- /dev/null
+++ b/src/seastar/tests/unit/directory_test.cc
@@ -0,0 +1,55 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2014 Cloudius Systems, Ltd.
+ */
+
+
+#include <seastar/core/reactor.hh>
+#include <seastar/core/app-template.hh>
+#include <seastar/core/print.hh>
+#include <seastar/core/shared_ptr.hh>
+
+using namespace seastar;
+
+int main(int ac, char** av) {
+ class lister {
+ file _f;
+ subscription<directory_entry> _listing;
+ public:
+ lister(file f)
+ : _f(std::move(f))
+ , _listing(_f.list_directory([this] (directory_entry de) { return report(de); })) {
+ }
+ future<> done() { return _listing.done(); }
+ private:
+ future<> report(directory_entry de) {
+ fmt::print("{}\n", de.name);
+ return make_ready_future<>();
+ }
+ };
+ return app_template().run_deprecated(ac, av, [] {
+ return engine().open_directory(".").then([] (file f) {
+ auto l = make_lw_shared<lister>(std::move(f));
+ return l->done().then([l] {
+ // ugly thing to keep *l alive
+ engine().exit(0);
+ });
+ });
+ });
+}
diff --git a/src/seastar/tests/unit/distributed_test.cc b/src/seastar/tests/unit/distributed_test.cc
new file mode 100644
index 00000000..b5c1ccb9
--- /dev/null
+++ b/src/seastar/tests/unit/distributed_test.cc
@@ -0,0 +1,181 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/*
+ * Copyright (C) 2015 Cloudius Systems, Ltd.
+ */
+
+#include <seastar/core/app-template.hh>
+#include <seastar/core/distributed.hh>
+#include <seastar/core/future-util.hh>
+#include <seastar/core/sleep.hh>
+#include <seastar/core/thread.hh>
+
+using namespace seastar;
+
+struct async_service : public seastar::async_sharded_service<async_service> {
+ thread_local static bool deleted;
+ ~async_service() {
+ deleted = true;
+ }
+ void run() {
+ auto ref = shared_from_this();
+ sleep(std::chrono::milliseconds(100 + 100 * engine().cpu_id())).then([this, ref] {
+ check();
+ });
+ }
+ virtual void check() {
+ assert(!deleted);
+ }
+ future<> stop() { return make_ready_future<>(); }
+};
+
+thread_local bool async_service::deleted = false;
+
+struct X {
+ sstring echo(sstring arg) {
+ return arg;
+ }
+ int cpu_id_squared() const {
+ auto id = engine().cpu_id();
+ return id * id;
+ }
+ future<> stop() { return make_ready_future<>(); }
+};
+
+template <typename T, typename Func>
+future<> do_with_distributed(Func&& func) {
+ auto x = make_shared<distributed<T>>();
+ return func(*x).finally([x] {
+ return x->stop();
+ }).finally([x]{});
+}
+
+future<> test_that_each_core_gets_the_arguments() {
+ return do_with_distributed<X>([] (auto& x) {
+ return x.start().then([&x] {
+ return x.map_reduce([] (sstring msg){
+ if (msg != "hello") {
+ throw std::runtime_error("wrong message");
+ }
+ }, &X::echo, sstring("hello"));
+ });
+ });
+}
+
+future<> test_functor_version() {
+ return do_with_distributed<X>([] (auto& x) {
+ return x.start().then([&x] {
+ return x.map_reduce([] (sstring msg){
+ if (msg != "hello") {
+ throw std::runtime_error("wrong message");
+ }
+ }, [] (X& x) { return x.echo("hello"); });
+ });
+ });
+}
+
+struct Y {
+ sstring s;
+ Y(sstring s) : s(std::move(s)) {}
+ future<> stop() { return make_ready_future<>(); }
+};
+
+future<> test_constructor_argument_is_passed_to_each_core() {
+ return do_with_distributed<Y>([] (auto& y) {
+ return y.start(sstring("hello")).then([&y] {
+ return y.invoke_on_all([] (Y& y) {
+ if (y.s != "hello") {
+ throw std::runtime_error(format("expected message mismatch, is \"%s\"", y.s));
+ }
+ });
+ });
+ });
+}
+
+future<> test_map_reduce() {
+ return do_with_distributed<X>([] (distributed<X>& x) {
+ return x.start().then([&x] {
+ return x.map_reduce0(std::mem_fn(&X::cpu_id_squared),
+ 0,
+ std::plus<int>()).then([] (int result) {
+ int n = smp::count - 1;
+ if (result != (n * (n + 1) * (2*n + 1)) / 6) {
+ throw std::runtime_error("map_reduce failed");
+ }
+ });
+ });
+ });
+}
+
+future<> test_async() {
+ return do_with_distributed<async_service>([] (distributed<async_service>& x) {
+ return x.start().then([&x] {
+ return x.invoke_on_all(&async_service::run);
+ });
+ }).then([] {
+ return sleep(std::chrono::milliseconds(100 * (smp::count + 1)));
+ });
+}
+
+future<> test_invoke_on_others() {
+ return seastar::async([] {
+ struct my_service {
+ int counter = 0;
+ void up() { ++counter; }
+ future<> stop() { return make_ready_future<>(); }
+ };
+ for (unsigned c = 0; c < smp::count; ++c) {
+ smp::submit_to(c, [c] {
+ return seastar::async([c] {
+ sharded<my_service> s;
+ s.start().get();
+ s.invoke_on_others([](auto& s) { s.up(); }).get();
+ if (s.local().counter != 0) {
+ throw std::runtime_error("local modified");
+ }
+ s.invoke_on_all([c](auto& remote) {
+ if (engine().cpu_id() != c) {
+ if (remote.counter != 1) {
+ throw std::runtime_error("remote not modified");
+ }
+ }
+ }).get();
+ s.stop().get();
+ });
+ }).get();
+ }
+ });
+}
+
+int main(int argc, char** argv) {
+ app_template app;
+ return app.run(argc, argv, [] {
+ return test_that_each_core_gets_the_arguments().then([] {
+ return test_functor_version();
+ }).then([] {
+ return test_constructor_argument_is_passed_to_each_core();
+ }).then([] {
+ return test_map_reduce();
+ }).then([] {
+ return test_async();
+ }).then([] {
+ return test_invoke_on_others();
+ });
+ });
+}
diff --git a/src/seastar/tests/unit/dns_test.cc b/src/seastar/tests/unit/dns_test.cc
new file mode 100644
index 00000000..8bf3a4cb
--- /dev/null
+++ b/src/seastar/tests/unit/dns_test.cc
@@ -0,0 +1,134 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/*
+ * Copyright (C) 2016 ScyllaDB.
+ */
+#include <vector>
+#include <algorithm>
+
+#include <seastar/core/do_with.hh>
+#include <seastar/testing/test_case.hh>
+#include <seastar/core/sstring.hh>
+#include <seastar/core/reactor.hh>
+#include <seastar/core/do_with.hh>
+#include <seastar/core/future-util.hh>
+#include <seastar/net/dns.hh>
+#include <seastar/net/inet_address.hh>
+
+using namespace seastar;
+using namespace seastar::net;
+
+static const inet_address google_addr = inet_address("216.58.201.164");
+static const sstring google_name = "www.google.com";
+
+static future<> test_resolve(dns_resolver::options opts) {
+ auto d = ::make_lw_shared<dns_resolver>(std::move(opts));
+ return d->get_host_by_name(google_name, inet_address::family::INET).then([d](hostent e) {
+ //BOOST_REQUIRE(std::count(e.addr_list.begin(), e.addr_list.end(), google_addr));
+ return d->get_host_by_addr(e.addr_list.front()).then([d, a = e.addr_list.front()](hostent e) {
+ return d->get_host_by_name(e.names.front(), inet_address::family::INET).then([a](hostent e) {
+ BOOST_REQUIRE(std::count(e.addr_list.begin(), e.addr_list.end(), a));
+ });
+ });
+ }).finally([d]{
+ return d->close();
+ });
+}
+
+static future<> test_bad_name(dns_resolver::options opts) {
+ auto d = ::make_lw_shared<dns_resolver>(std::move(opts));
+ return d->get_host_by_name("apa.ninja.gnu", inet_address::family::INET).then_wrapped([d](future<hostent> f) {
+ try {
+ f.get();
+ BOOST_FAIL("should not succeed");
+ } catch (...) {
+ // ok.
+ }
+ }).finally([d]{
+ return d->close();
+ });
+}
+
+SEASTAR_TEST_CASE(test_resolve_udp) {
+ return test_resolve(dns_resolver::options());
+}
+
+SEASTAR_TEST_CASE(test_bad_name_udp) {
+ return test_bad_name(dns_resolver::options());
+}
+
+SEASTAR_TEST_CASE(test_timeout_udp) {
+ dns_resolver::options opts;
+ opts.servers = std::vector<inet_address>({ inet_address("1.2.3.4") }); // not a server
+ opts.udp_port = 29953; // not a dns port
+ opts.timeout = std::chrono::milliseconds(500);
+
+ auto d = ::make_lw_shared<dns_resolver>(engine().net(), opts);
+ return d->get_host_by_name(google_name, inet_address::family::INET).then_wrapped([d](future<hostent> f) {
+ try {
+ f.get();
+ BOOST_FAIL("should not succeed");
+ } catch (...) {
+ // ok.
+ }
+ }).finally([d]{
+ return d->close();
+ });
+}
+
+// Currently failing, disable until fixed (#521)
+#if 0
+SEASTAR_TEST_CASE(test_resolve_tcp) {
+ dns_resolver::options opts;
+ opts.use_tcp_query = true;
+ return test_resolve(opts);
+}
+#endif
+
+SEASTAR_TEST_CASE(test_bad_name_tcp) {
+ dns_resolver::options opts;
+ opts.use_tcp_query = true;
+ return test_bad_name(opts);
+}
+
+static const sstring imaps_service = "imaps";
+static const sstring gmail_domain = "gmail.com";
+
+static future<> test_srv() {
+ auto d = ::make_lw_shared<dns_resolver>();
+ return d->get_srv_records(dns_resolver::srv_proto::tcp,
+ imaps_service,
+ gmail_domain).then([d](dns_resolver::srv_records records) {
+ BOOST_REQUIRE(!records.empty());
+ for (auto& record : records) {
+ // record.target should end with "gmail.com"
+ BOOST_REQUIRE_GT(record.target.size(), gmail_domain.size());
+ BOOST_REQUIRE_EQUAL(record.target.compare(record.target.size() - gmail_domain.size(),
+ gmail_domain.size(),
+ gmail_domain),
+ 0);
+ }
+ }).finally([d]{
+ return d->close();
+ });
+}
+
+SEASTAR_TEST_CASE(test_srv_tcp) {
+ return test_srv();
+}
diff --git a/src/seastar/tests/unit/execution_stage_test.cc b/src/seastar/tests/unit/execution_stage_test.cc
new file mode 100644
index 00000000..52020e2e
--- /dev/null
+++ b/src/seastar/tests/unit/execution_stage_test.cc
@@ -0,0 +1,336 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2017 ScyllaDB Ltd.
+ */
+
+#include <algorithm>
+#include <random>
+#include <vector>
+#include <chrono>
+
+#include <seastar/core/thread.hh>
+#include <seastar/testing/test_case.hh>
+#include <seastar/testing/thread_test_case.hh>
+#include <seastar/core/execution_stage.hh>
+#include <seastar/core/sleep.hh>
+
+using namespace std::chrono_literals;
+
+using namespace seastar;
+
+static std::random_device rd;
+
+SEASTAR_TEST_CASE(test_create_stage_from_lvalue_function_object) {
+ return seastar::async([] {
+ auto dont_move = [obj = make_shared<int>(53)] { return *obj; };
+ auto stage = seastar::make_execution_stage("test", dont_move);
+ BOOST_REQUIRE_EQUAL(stage().get0(), 53);
+ BOOST_REQUIRE_EQUAL(dont_move(), 53);
+ });
+}
+
+SEASTAR_TEST_CASE(test_create_stage_from_rvalue_function_object) {
+ return seastar::async([] {
+ auto dont_copy = [obj = std::make_unique<int>(42)] { return *obj; };
+ auto stage = seastar::make_execution_stage("test", std::move(dont_copy));
+ BOOST_REQUIRE_EQUAL(stage().get0(), 42);
+ });
+}
+
+int func() {
+ return 64;
+}
+
+SEASTAR_TEST_CASE(test_create_stage_from_function) {
+ return seastar::async([] {
+ auto stage = seastar::make_execution_stage("test", func);
+ BOOST_REQUIRE_EQUAL(stage().get0(), 64);
+ });
+}
+
+template<typename Function, typename Verify>
+void test_simple_execution_stage(Function&& func, Verify&& verify) {
+ auto stage = seastar::make_execution_stage("test", std::forward<Function>(func));
+
+ std::vector<int> vs;
+ std::default_random_engine gen(rd());
+ std::uniform_int_distribution<> dist(0, 100'000);
+ std::generate_n(std::back_inserter(vs), 1'000, [&] { return dist(gen); });
+
+ std::vector<future<int>> fs;
+ for (auto v : vs) {
+ fs.emplace_back(stage(v));
+ }
+
+ for (auto i = 0u; i < fs.size(); i++) {
+ verify(vs[i], std::move(fs[i]));
+ }
+}
+
+SEASTAR_TEST_CASE(test_simple_stage_returning_int) {
+ return seastar::async([] {
+ test_simple_execution_stage([] (int x) {
+ if (x % 2) {
+ return x * 2;
+ } else {
+ throw x;
+ }
+ }, [] (int original, future<int> result) {
+ if (original % 2) {
+ BOOST_REQUIRE_EQUAL(original * 2, result.get0());
+ } else {
+ BOOST_REQUIRE_EXCEPTION(result.get0(), int, [&] (int v) { return original == v; });
+ }
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_simple_stage_returning_future_int) {
+ return seastar::async([] {
+ test_simple_execution_stage([] (int x) {
+ if (x % 2) {
+ return make_ready_future<int>(x * 2);
+ } else {
+ return make_exception_future<int>(x);
+ }
+ }, [] (int original, future<int> result) {
+ if (original % 2) {
+ BOOST_REQUIRE_EQUAL(original * 2, result.get0());
+ } else {
+ BOOST_REQUIRE_EXCEPTION(result.get0(), int, [&] (int v) { return original == v; });
+ }
+ });
+ });
+}
+
+template<typename T>
+void test_execution_stage_avoids_copy() {
+ auto stage = seastar::make_execution_stage("test", [] (T obj) {
+ return std::move(obj);
+ });
+
+ auto f = stage(T());
+ T obj = f.get0();
+ (void)obj;
+}
+
+SEASTAR_TEST_CASE(test_stage_moves_when_cannot_copy) {
+ return seastar::async([] {
+ struct noncopyable_but_movable {
+ noncopyable_but_movable() = default;
+ noncopyable_but_movable(const noncopyable_but_movable&) = delete;
+ noncopyable_but_movable(noncopyable_but_movable&&) = default;
+ };
+
+ test_execution_stage_avoids_copy<noncopyable_but_movable>();
+ });
+}
+
+SEASTAR_TEST_CASE(test_stage_prefers_move_to_copy) {
+ return seastar::async([] {
+ struct copyable_and_movable {
+ copyable_and_movable() = default;
+ copyable_and_movable(const copyable_and_movable&) {
+ BOOST_FAIL("should not copy");
+ }
+ copyable_and_movable(copyable_and_movable&&) = default;
+ };
+
+ test_execution_stage_avoids_copy<copyable_and_movable>();
+ });
+}
+
+SEASTAR_TEST_CASE(test_rref_decays_to_value) {
+ return seastar::async([] {
+ auto stage = seastar::make_execution_stage("test", [] (std::vector<int>&& vec) {
+ return vec.size();
+ });
+
+ std::vector<int> tmp;
+ std::vector<future<size_t>> fs;
+ for (auto i = 0; i < 100; i++) {
+ tmp.resize(i);
+ fs.emplace_back(stage(std::move(tmp)));
+ tmp = std::vector<int>();
+ }
+
+ for (size_t i = 0; i < 100; i++) {
+ BOOST_REQUIRE_EQUAL(fs[i].get0(), i);
+ }
+ });
+}
+
+SEASTAR_TEST_CASE(test_lref_does_not_decay) {
+ return seastar::async([] {
+ auto stage = seastar::make_execution_stage("test", [] (int& v) {
+ v++;
+ });
+
+ int value = 0;
+ std::vector<future<>> fs;
+ for (auto i = 0; i < 100; i++) {
+ //fs.emplace_back(stage(value)); // should fail to compile
+ fs.emplace_back(stage(seastar::ref(value)));
+ }
+
+ for (auto&& f : fs) {
+ f.get();
+ }
+ BOOST_REQUIRE_EQUAL(value, 100);
+ });
+}
+
+SEASTAR_TEST_CASE(test_explicit_reference_wrapper_is_not_unwrapped) {
+ return seastar::async([] {
+ auto stage = seastar::make_execution_stage("test", [] (seastar::reference_wrapper<int> v) {
+ v.get()++;
+ });
+
+ int value = 0;
+ std::vector<future<>> fs;
+ for (auto i = 0; i < 100; i++) {
+ //fs.emplace_back(stage(value)); // should fail to compile
+ fs.emplace_back(stage(seastar::ref(value)));
+ }
+
+ for (auto&& f : fs) {
+ f.get();
+ }
+ BOOST_REQUIRE_EQUAL(value, 100);
+ });
+}
+
+SEASTAR_TEST_CASE(test_function_is_class_member) {
+ return seastar::async([] {
+ struct foo {
+ int value = -1;
+ int member(int x) {
+ return std::exchange(value, x);
+ }
+ };
+
+ auto stage = seastar::make_execution_stage("test", &foo::member);
+
+ foo object;
+ std::vector<future<int>> fs;
+ for (auto i = 0; i < 100; i++) {
+ fs.emplace_back(stage(&object, i));
+ }
+
+ for (auto i = 0; i < 100; i++) {
+ BOOST_REQUIRE_EQUAL(fs[i].get0(), i - 1);
+ }
+ BOOST_REQUIRE_EQUAL(object.value, 99);
+ });
+}
+
+SEASTAR_TEST_CASE(test_function_is_const_class_member) {
+ return seastar::async([] {
+ struct foo {
+ int value = 999;
+ int member() const {
+ return value;
+ }
+ };
+ auto stage = seastar::make_execution_stage("test", &foo::member);
+
+ const foo object;
+ BOOST_REQUIRE_EQUAL(stage(&object).get0(), 999);
+ });
+}
+
+SEASTAR_TEST_CASE(test_stage_stats) {
+ return seastar::async([] {
+ auto stage = seastar::make_execution_stage("test", [] { });
+
+ BOOST_REQUIRE_EQUAL(stage.get_stats().function_calls_enqueued, 0u);
+ BOOST_REQUIRE_EQUAL(stage.get_stats().function_calls_executed, 0u);
+
+ auto fs = std::vector<future<>>();
+ static constexpr auto call_count = 53u;
+ for (auto i = 0u; i < call_count; i++) {
+ fs.emplace_back(stage());
+ }
+
+ BOOST_REQUIRE_EQUAL(stage.get_stats().function_calls_enqueued, call_count);
+
+ for (auto i = 0u; i < call_count; i++) {
+ fs[i].get();
+ BOOST_REQUIRE_GE(stage.get_stats().tasks_scheduled, 1u);
+ BOOST_REQUIRE_GE(stage.get_stats().function_calls_executed, i);
+ }
+ BOOST_REQUIRE_EQUAL(stage.get_stats().function_calls_executed, call_count);
+ });
+}
+
+SEASTAR_TEST_CASE(test_unique_stage_names_are_enforced) {
+ return seastar::async([] {
+ {
+ auto stage = seastar::make_execution_stage("test", [] {});
+ BOOST_REQUIRE_THROW(seastar::make_execution_stage("test", [] {}), std::invalid_argument);
+ stage().get();
+ }
+
+ auto stage = seastar::make_execution_stage("test", [] {});
+ stage().get();
+ });
+}
+
+SEASTAR_THREAD_TEST_CASE(test_inheriting_concrete_execution_stage) {
+ auto sg1 = seastar::create_scheduling_group("sg1", 300).get0();
+ auto ksg1 = seastar::defer([&] { seastar::destroy_scheduling_group(sg1).get(); });
+ auto sg2 = seastar::create_scheduling_group("sg2", 100).get0();
+ auto ksg2 = seastar::defer([&] { seastar::destroy_scheduling_group(sg2).get(); });
+ auto check_sg = [] (seastar::scheduling_group sg) {
+ BOOST_REQUIRE(seastar::current_scheduling_group() == sg);
+ };
+ auto es = seastar::inheriting_concrete_execution_stage<void, seastar::scheduling_group>("stage", check_sg);
+ auto make_attr = [] (scheduling_group sg) {
+ seastar::thread_attributes a;
+ a.sched_group = sg;
+ return a;
+ };
+ bool done = false;
+ auto make_test_thread = [&] (scheduling_group sg) {
+ return seastar::thread(make_attr(sg), [&, sg] {
+ while (!done) {
+ es(sg).get(); // will check if executed with same sg
+ };
+ });
+ };
+ auto th1 = make_test_thread(sg1);
+ auto th2 = make_test_thread(sg2);
+ seastar::sleep(10ms).get();
+ done = true;
+ th1.join().get();
+ th2.join().get();
+}
+
+struct a_struct {};
+
+SEASTAR_THREAD_TEST_CASE(test_inheriting_concrete_execution_stage_reference_parameters) {
+ // mostly a compile test, but take the opportunity to test that passing
+ // by reference preserves the address
+ auto check_ref = [] (a_struct& ref, a_struct* ptr) {
+ BOOST_REQUIRE_EQUAL(&ref, ptr);
+ };
+ auto es = seastar::inheriting_concrete_execution_stage<void, a_struct&, a_struct*>("stage", check_ref);
+ a_struct obj;
+ es(seastar::ref(obj), &obj).get();
+}
diff --git a/src/seastar/tests/unit/expiring_fifo_test.cc b/src/seastar/tests/unit/expiring_fifo_test.cc
new file mode 100644
index 00000000..b6dcbeb7
--- /dev/null
+++ b/src/seastar/tests/unit/expiring_fifo_test.cc
@@ -0,0 +1,189 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/*
+ * Copyright (C) 2016 ScyllaDB
+ */
+
+#include <seastar/core/thread.hh>
+#include <seastar/testing/test_case.hh>
+#include <seastar/core/future-util.hh>
+#include <seastar/core/expiring_fifo.hh>
+#include <boost/range/irange.hpp>
+
+using namespace seastar;
+using namespace std::chrono_literals;
+
+SEASTAR_TEST_CASE(test_no_expiry_operations) {
+ expiring_fifo<int> fifo;
+
+ BOOST_REQUIRE(fifo.empty());
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+ BOOST_REQUIRE(!bool(fifo));
+
+ fifo.push_back(1);
+
+ BOOST_REQUIRE(!fifo.empty());
+ BOOST_REQUIRE_EQUAL(fifo.size(), 1u);
+ BOOST_REQUIRE(bool(fifo));
+ BOOST_REQUIRE_EQUAL(fifo.front(), 1);
+
+ fifo.push_back(2);
+ fifo.push_back(3);
+
+ BOOST_REQUIRE(!fifo.empty());
+ BOOST_REQUIRE_EQUAL(fifo.size(), 3u);
+ BOOST_REQUIRE(bool(fifo));
+ BOOST_REQUIRE_EQUAL(fifo.front(), 1);
+
+ fifo.pop_front();
+
+ BOOST_REQUIRE(!fifo.empty());
+ BOOST_REQUIRE_EQUAL(fifo.size(), 2u);
+ BOOST_REQUIRE(bool(fifo));
+ BOOST_REQUIRE_EQUAL(fifo.front(), 2);
+
+ fifo.pop_front();
+
+ BOOST_REQUIRE(!fifo.empty());
+ BOOST_REQUIRE_EQUAL(fifo.size(), 1u);
+ BOOST_REQUIRE(bool(fifo));
+ BOOST_REQUIRE_EQUAL(fifo.front(), 3);
+
+ fifo.pop_front();
+
+ BOOST_REQUIRE(fifo.empty());
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+ BOOST_REQUIRE(!bool(fifo));
+
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(test_expiry_operations) {
+ return seastar::async([] {
+ std::vector<int> expired;
+ struct my_expiry {
+ std::vector<int>& e;
+ void operator()(int& v) { e.push_back(v); }
+ };
+
+ expiring_fifo<int, my_expiry, manual_clock> fifo(my_expiry{expired});
+
+ fifo.push_back(1, manual_clock::now() + 1s);
+
+ BOOST_REQUIRE(!fifo.empty());
+ BOOST_REQUIRE_EQUAL(fifo.size(), 1u);
+ BOOST_REQUIRE(bool(fifo));
+ BOOST_REQUIRE_EQUAL(fifo.front(), 1);
+
+ manual_clock::advance(1s);
+ later().get();
+
+ BOOST_REQUIRE(fifo.empty());
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+ BOOST_REQUIRE(!bool(fifo));
+ BOOST_REQUIRE_EQUAL(expired.size(), 1u);
+ BOOST_REQUIRE_EQUAL(expired[0], 1);
+
+ expired.clear();
+
+ fifo.push_back(1);
+ fifo.push_back(2, manual_clock::now() + 1s);
+ fifo.push_back(3);
+
+ manual_clock::advance(1s);
+ later().get();
+
+ BOOST_REQUIRE(!fifo.empty());
+ BOOST_REQUIRE_EQUAL(fifo.size(), 2u);
+ BOOST_REQUIRE(bool(fifo));
+ BOOST_REQUIRE_EQUAL(expired.size(), 1u);
+ BOOST_REQUIRE_EQUAL(expired[0], 2);
+ BOOST_REQUIRE_EQUAL(fifo.front(), 1);
+ fifo.pop_front();
+ BOOST_REQUIRE_EQUAL(fifo.size(), 1u);
+ BOOST_REQUIRE_EQUAL(fifo.front(), 3);
+ fifo.pop_front();
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+
+ expired.clear();
+
+ fifo.push_back(1, manual_clock::now() + 1s);
+ fifo.push_back(2, manual_clock::now() + 1s);
+ fifo.push_back(3);
+ fifo.push_back(4, manual_clock::now() + 2s);
+
+ manual_clock::advance(1s);
+ later().get();
+
+ BOOST_REQUIRE(!fifo.empty());
+ BOOST_REQUIRE_EQUAL(fifo.size(), 2u);
+ BOOST_REQUIRE(bool(fifo));
+ BOOST_REQUIRE_EQUAL(expired.size(), 2u);
+ std::sort(expired.begin(), expired.end());
+ BOOST_REQUIRE_EQUAL(expired[0], 1);
+ BOOST_REQUIRE_EQUAL(expired[1], 2);
+ BOOST_REQUIRE_EQUAL(fifo.front(), 3);
+ fifo.pop_front();
+ BOOST_REQUIRE_EQUAL(fifo.size(), 1u);
+ BOOST_REQUIRE_EQUAL(fifo.front(), 4);
+ fifo.pop_front();
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+
+ expired.clear();
+
+ fifo.push_back(1);
+ fifo.push_back(2, manual_clock::now() + 1s);
+ fifo.push_back(3, manual_clock::now() + 1s);
+ fifo.push_back(4, manual_clock::now() + 1s);
+
+ manual_clock::advance(1s);
+ later().get();
+
+ BOOST_REQUIRE(!fifo.empty());
+ BOOST_REQUIRE_EQUAL(fifo.size(), 1u);
+ BOOST_REQUIRE(bool(fifo));
+ BOOST_REQUIRE_EQUAL(expired.size(), 3u);
+ std::sort(expired.begin(), expired.end());
+ BOOST_REQUIRE_EQUAL(expired[0], 2);
+ BOOST_REQUIRE_EQUAL(expired[1], 3);
+ BOOST_REQUIRE_EQUAL(expired[2], 4);
+ BOOST_REQUIRE_EQUAL(fifo.front(), 1);
+ fifo.pop_front();
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+
+ expired.clear();
+
+ fifo.push_back(1);
+ fifo.push_back(2, manual_clock::now() + 1s);
+ fifo.push_back(3, manual_clock::now() + 1s);
+ fifo.push_back(4, manual_clock::now() + 1s);
+ fifo.push_back(5);
+
+ manual_clock::advance(1s);
+ later().get();
+
+ BOOST_REQUIRE_EQUAL(fifo.size(), 2u);
+ BOOST_REQUIRE_EQUAL(fifo.front(), 1);
+ fifo.pop_front();
+ BOOST_REQUIRE_EQUAL(fifo.size(), 1u);
+ BOOST_REQUIRE_EQUAL(fifo.front(), 5);
+ fifo.pop_front();
+ BOOST_REQUIRE_EQUAL(fifo.size(), 0u);
+ });
+}
diff --git a/src/seastar/tests/unit/fair_queue_test.cc b/src/seastar/tests/unit/fair_queue_test.cc
new file mode 100644
index 00000000..4ba4646b
--- /dev/null
+++ b/src/seastar/tests/unit/fair_queue_test.cc
@@ -0,0 +1,379 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/*
+ * Copyright (C) 2016 ScyllaDB
+ */
+
+#include <seastar/core/thread.hh>
+#include <seastar/core/do_with.hh>
+#include <seastar/testing/test_case.hh>
+#include <seastar/core/sstring.hh>
+#include <seastar/core/reactor.hh>
+#include <seastar/core/fair_queue.hh>
+#include <seastar/core/do_with.hh>
+#include <seastar/core/future-util.hh>
+#include <seastar/core/sleep.hh>
+#include <boost/range/irange.hpp>
+#include <random>
+#include <chrono>
+
+using namespace seastar;
+using namespace std::chrono_literals;
+
+class test_request {
+ fair_queue* _fq;
+ promise<> _pr;
+ future<> _res;
+public:
+ test_request(fair_queue& fq) : _fq(&fq), _res(make_exception_future<>(std::runtime_error("impossible"))) {}
+ ~test_request() {
+ }
+
+ test_request(const test_request&) = delete;
+ test_request(test_request&&) = default;
+ future<> get_future() {
+ return _pr.get_future();
+ }
+ void add_result(future<> f) {
+ _res = std::move(f);
+ }
+};
+
+fair_queue::config make_config(unsigned capacity) {
+ fair_queue::config cfg;
+ cfg.capacity = capacity;
+ cfg.max_req_count = capacity;
+ return cfg;
+}
+
+struct test_env {
+ fair_queue fq;
+ std::vector<int> results;
+ std::vector<priority_class_ptr> classes;
+ std::vector<future<>> inflight;
+ test_env(unsigned capacity) : fq(capacity)
+ {}
+
+ size_t register_priority_class(uint32_t shares) {
+ results.push_back(0);
+ classes.push_back(fq.register_priority_class(shares));
+ return classes.size() - 1;
+ }
+
+ void do_op(unsigned index, unsigned weight) {
+ auto cl = classes[index];
+ struct request {
+ promise<> pr;
+ fair_queue_request_descriptor fqdesc;
+ };
+
+ auto req = std::make_unique<request>();
+ req->fqdesc.weight = weight;
+ req->fqdesc.size = 0;
+ inflight.push_back(req->pr.get_future());
+ auto fqdesc = req->fqdesc;
+
+ fq.queue(cl, fqdesc, [this, index, req = std::move(req)] () mutable noexcept {
+ try {
+ results[index]++;
+ sleep(100us).then_wrapped([this, req = std::move(req)] (future<> f) mutable {
+ f.forward_to(std::move(req->pr));
+ fq.notify_requests_finished(req->fqdesc);
+ fq.dispatch_requests();
+ });
+ } catch (...) {
+ req->pr.set_exception(std::current_exception());
+ fq.notify_requests_finished(req->fqdesc);
+ fq.dispatch_requests();
+ }
+ });
+ fq.dispatch_requests();
+ }
+ void update_shares(unsigned index, uint32_t shares) {
+ auto cl = classes[index];
+ fq.update_shares(cl, shares);
+ }
+ // Verify if the ratios are what we expect. Because we can't be sure about
+ // precise timing issues, we can always be off by some percentage. In simpler
+ // tests we really expect it to very low, but in more complex tests, with share
+ // changes, for instance, they can accumulate
+ //
+ // The ratios argument is the ratios towards the first class
+ future<> verify(sstring name, std::vector<unsigned> ratios, unsigned expected_error = 1) {
+ return wait_on_pending().then([name, r = results, ratios = std::move(ratios), this, expected_error] {
+ assert(ratios.size() == r.size());
+ auto str = name + ":";
+ for (auto i = 0ul; i < r.size(); ++i) {
+ str += format(" r[{:d}] = {:d}", i, r[i]);
+ }
+ std::cout << str << std::endl;
+ for (auto i = 0ul; i < ratios.size(); ++i) {
+ int min_expected = ratios[i] * (r[0] - expected_error);
+ int max_expected = ratios[i] * (r[0] + expected_error);
+ BOOST_REQUIRE(r[i] >= min_expected);
+ BOOST_REQUIRE(r[i] <= max_expected);
+ }
+ for (auto& p: classes) {
+ fq.unregister_priority_class(p);
+ }
+ });
+ }
+ future<> wait_on_pending() {
+ auto curr = make_lw_shared<std::vector<future<>>>();
+ curr->swap(inflight);
+ return when_all(curr->begin(), curr->end()).discard_result();
+ }
+};
+
+// Equal ratios. Expected equal results.
+SEASTAR_TEST_CASE(test_fair_queue_equal_2classes) {
+ auto env = make_lw_shared<test_env>(1);
+
+ auto a = env->register_priority_class(10);
+ auto b = env->register_priority_class(10);
+
+ for (int i = 0; i < 100; ++i) {
+ env->do_op(a, 1);
+ env->do_op(b, 1);
+ }
+ return sleep(10ms).then([env] {
+ return env->verify("equal_2classes", {1, 1});
+ }).then([env] {});
+}
+
+// Equal results, spread among 4 classes.
+SEASTAR_TEST_CASE(test_fair_queue_equal_4classes) {
+ auto env = make_lw_shared<test_env>(1);
+
+ auto a = env->register_priority_class(10);
+ auto b = env->register_priority_class(10);
+ auto c = env->register_priority_class(10);
+ auto d = env->register_priority_class(10);
+
+ for (int i = 0; i < 100; ++i) {
+ env->do_op(a, 1);
+ env->do_op(b, 1);
+ env->do_op(c, 1);
+ env->do_op(d, 1);
+ }
+ return sleep(10ms).then([env] {
+ return env->verify("equal_4classes", {1, 1, 1, 1});
+ }).then([env] {});
+}
+
+// Class2 twice as powerful. Expected class2 to have 2 x more requests.
+SEASTAR_TEST_CASE(test_fair_queue_different_shares) {
+ auto env = make_lw_shared<test_env>(1);
+
+ auto a = env->register_priority_class(10);
+ auto b = env->register_priority_class(20);
+
+ for (int i = 0; i < 100; ++i) {
+ env->do_op(a, 1);
+ env->do_op(b, 1);
+ }
+ return sleep(10ms).then([env] {
+ return env->verify("different_shares", {1, 2});
+ }).then([env] {});
+}
+
+// Equal ratios, high capacity queue. Should still divide equally.
+//
+// Note that we sleep less because now more requests will be going through the
+// queue.
+SEASTAR_TEST_CASE(test_fair_queue_equal_hi_capacity_2classes) {
+ auto env = make_lw_shared<test_env>(10);
+
+ auto a = env->register_priority_class(10);
+ auto b = env->register_priority_class(10);
+
+ for (int i = 0; i < 100; ++i) {
+ env->do_op(a, 1);
+ env->do_op(b, 1);
+ }
+ return sleep(1ms).then([env] {
+ return env->verify("hi_capacity_2classes", {1, 1});
+ }).then([env] {});
+
+}
+
+// Class2 twice as powerful, queue is high capacity. Still expected class2 to
+// have 2 x more requests.
+//
+// Note that we sleep less because now more requests will be going through the
+// queue.
+SEASTAR_TEST_CASE(test_fair_queue_different_shares_hi_capacity) {
+ auto env = make_lw_shared<test_env>(10);
+
+ auto a = env->register_priority_class(10);
+ auto b = env->register_priority_class(20);
+
+ for (int i = 0; i < 100; ++i) {
+ env->do_op(a, 1);
+ env->do_op(b, 1);
+ }
+ return sleep(1ms).then([env] {
+ return env->verify("different_shares_hi_capacity", {1, 2});
+ }).then([env] {});
+}
+
+// Classes equally powerful. But Class1 issues twice as expensive requests. Expected Class2 to have 2 x more requests.
+SEASTAR_TEST_CASE(test_fair_queue_different_weights) {
+ auto env = make_lw_shared<test_env>(1);
+
+ auto a = env->register_priority_class(10);
+ auto b = env->register_priority_class(10);
+
+ for (int i = 0; i < 100; ++i) {
+ env->do_op(a, 2);
+ env->do_op(b, 1);
+ }
+ return sleep(5ms).then([env] {
+ return env->verify("different_weights", {1, 2});
+ }).then([env] {});
+}
+
+// Class2 pushes many requests over 10ms. In the next msec at least, don't expect Class2 to be able to push anything else.
+SEASTAR_TEST_CASE(test_fair_queue_dominant_queue) {
+ auto env = make_lw_shared<test_env>(1);
+
+ auto a = env->register_priority_class(10);
+ auto b = env->register_priority_class(10);
+
+ for (int i = 0; i < 100; ++i) {
+ env->do_op(b, 1);
+ }
+ return env->wait_on_pending().then([env, a, b] {
+ env->results[b] = 0;
+ for (int i = 0; i < 20; ++i) {
+ env->do_op(a, 1);
+ env->do_op(b, 1);
+ }
+ return sleep(1ms).then([env] {
+ return env->verify("dominant_queue", {1, 0});
+ });
+ }).then([env] {});
+}
+
+// Class2 pushes many requests over 10ms. After enough time, this shouldn't matter anymore.
+SEASTAR_TEST_CASE(test_fair_queue_forgiving_queue) {
+ auto env = make_lw_shared<test_env>(1);
+
+ auto a = env->register_priority_class(10);
+ auto b = env->register_priority_class(10);
+
+ for (int i = 0; i < 100; ++i) {
+ env->do_op(b, 1);
+ }
+ return env->wait_on_pending().then([] {
+ return sleep(500ms);
+ }).then([env, a, b] {
+ env->results[b] = 0;
+ for (int i = 0; i < 100; ++i) {
+ env->do_op(a, 1);
+ env->do_op(b, 1);
+ }
+ return sleep(10ms).then([env] {
+ return env->verify("forgiving_queue", {1, 1});
+ });
+ }).then([env] {});
+}
+
+// Classes push requests and then update swap their shares. In the end, should have executed
+// the same number of requests.
+SEASTAR_TEST_CASE(test_fair_queue_update_shares) {
+ auto env = make_lw_shared<test_env>(1);
+
+ auto a = env->register_priority_class(20);
+ auto b = env->register_priority_class(10);
+
+ for (int i = 0; i < 500; ++i) {
+ env->do_op(a, 1);
+ env->do_op(b, 1);
+ }
+ return sleep(10ms).then([env, a, b] {
+ env->update_shares(a, 10);
+ env->update_shares(b, 20);
+ return sleep(10ms);
+ }).then([env] {
+ return env->verify("update_shares", {1, 1}, 2);
+ }).then([env] {});
+}
+
+// Classes run for a longer period of time. Balance must be kept over many timer
+// periods.
+SEASTAR_TEST_CASE(test_fair_queue_longer_run) {
+ auto env = make_lw_shared<test_env>(1);
+
+ auto a = env->register_priority_class(10);
+ auto b = env->register_priority_class(10);
+
+ for (int i = 0; i < 20000; ++i) {
+ env->do_op(a, 1);
+ env->do_op(b, 1);
+ }
+ return sleep(1s).then([env] {
+ return env->verify("longer_run", {1, 1}, 2);
+ }).then([env] {});
+}
+
+// Classes run for a longer period of time. Proportional balance must be kept over many timer
+// periods, despite unequal shares..
+SEASTAR_TEST_CASE(test_fair_queue_longer_run_different_shares) {
+ auto env = make_lw_shared<test_env>(1);
+
+ auto a = env->register_priority_class(10);
+ auto b = env->register_priority_class(20);
+
+ for (int i = 0; i < 20000; ++i) {
+ env->do_op(a, 1);
+ env->do_op(b, 1);
+ }
+ return sleep(1s).then([env] {
+ return env->verify("longer_run_different_shares", {1, 2}, 2);
+ }).then([env] {});
+}
+
+// Classes run for a random period of time. Equal operations expected.
+SEASTAR_TEST_CASE(test_fair_queue_random_run) {
+ auto env = make_lw_shared<test_env>(1);
+
+ auto a = env->register_priority_class(1);
+ auto b = env->register_priority_class(1);
+
+ auto seed = std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::system_clock::now().time_since_epoch()).count();
+ std::default_random_engine generator(seed);
+ // multiples of 100usec - which is the approximate length of the request. We will
+ // put a minimum of 10. Below that, it is hard to guarantee anything. The maximum is
+ // about 50 seconds.
+ std::uniform_int_distribution<uint32_t> distribution(10, 500 * 1000);
+ auto reqs = distribution(generator);
+
+ // Enough requests for the maximum run (half per queue, + leeway)
+ for (uint32_t i = 0; i < (reqs / 2) + 10; ++i) {
+ env->do_op(a, 1);
+ env->do_op(b, 1);
+ }
+
+ return sleep(reqs * 100us).then([env, reqs] {
+ // Accept 5 % error.
+ auto expected_error = std::max(1, int(round(reqs * 0.05)));
+ return env->verify(format("random_run ({:d} msec)", reqs / 10), {1, 1}, expected_error);
+ }).then([env] {});
+}
diff --git a/src/seastar/tests/unit/file_io_test.cc b/src/seastar/tests/unit/file_io_test.cc
new file mode 100644
index 00000000..6e4fef20
--- /dev/null
+++ b/src/seastar/tests/unit/file_io_test.cc
@@ -0,0 +1,143 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2014-2015 Cloudius Systems, Ltd.
+ */
+
+#include <seastar/testing/test_case.hh>
+
+#include <seastar/core/semaphore.hh>
+#include <seastar/core/condition-variable.hh>
+#include <seastar/core/file.hh>
+#include <seastar/core/reactor.hh>
+#include <seastar/core/thread.hh>
+#include <seastar/core/stall_sampler.hh>
+#include <iostream>
+
+using namespace seastar;
+
+SEASTAR_TEST_CASE(open_flags_test) {
+ open_flags flags = open_flags::rw | open_flags::create | open_flags::exclusive;
+ BOOST_REQUIRE(std::underlying_type_t<open_flags>(flags) ==
+ (std::underlying_type_t<open_flags>(open_flags::rw) |
+ std::underlying_type_t<open_flags>(open_flags::create) |
+ std::underlying_type_t<open_flags>(open_flags::exclusive)));
+
+ open_flags mask = open_flags::create | open_flags::exclusive;
+ BOOST_REQUIRE((flags & mask) == mask);
+ return make_ready_future<>();
+}
+
+struct file_test {
+ file_test(file&& f) : f(std::move(f)) {}
+ file f;
+ semaphore sem = { 0 };
+ semaphore par = { 1000 };
+};
+
+SEASTAR_TEST_CASE(test1) {
+ // Note: this tests generates a file "testfile.tmp" with size 4096 * max (= 40 MB).
+ static constexpr auto max = 10000;
+ return open_file_dma("testfile.tmp", open_flags::rw | open_flags::create).then([] (file f) {
+ auto ft = new file_test{std::move(f)};
+ for (size_t i = 0; i < max; ++i) {
+ ft->par.wait().then([ft, i] {
+ auto wbuf = allocate_aligned_buffer<unsigned char>(4096, 4096);
+ std::fill(wbuf.get(), wbuf.get() + 4096, i);
+ auto wb = wbuf.get();
+ ft->f.dma_write(i * 4096, wb, 4096).then(
+ [ft, i, wbuf = std::move(wbuf)] (size_t ret) mutable {
+ BOOST_REQUIRE(ret == 4096);
+ auto rbuf = allocate_aligned_buffer<unsigned char>(4096, 4096);
+ auto rb = rbuf.get();
+ ft->f.dma_read(i * 4096, rb, 4096).then(
+ [ft, rbuf = std::move(rbuf), wbuf = std::move(wbuf)] (size_t ret) mutable {
+ BOOST_REQUIRE(ret == 4096);
+ BOOST_REQUIRE(std::equal(rbuf.get(), rbuf.get() + 4096, wbuf.get()));
+ ft->sem.signal(1);
+ ft->par.signal();
+ });
+ });
+ });
+ }
+ return ft->sem.wait(max).then([ft] () mutable {
+ return ft->f.flush();
+ }).then([ft] {
+ return ft->f.close();
+ }).then([ft] () mutable {
+ std::cout << "done\n";
+ delete ft;
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(parallel_write_fsync) {
+ return internal::report_reactor_stalls([] {
+ return async([] {
+ // Plan: open a file and write to it like crazy. In parallel fsync() it all the time.
+ auto fname = "testfile.tmp";
+ auto sz = uint64_t(32*1024*1024);
+ auto buffer_size = 32768;
+ auto write_concurrency = 16;
+ auto fsync_every = 1024*1024;
+ auto max_write_ahead_of_fsync = 4*1024*1024; // ensures writes don't complete too quickly
+ auto written = uint64_t(0);
+ auto fsynced_at = uint64_t(0);
+
+ file f = open_file_dma(fname, open_flags::rw | open_flags::create | open_flags::truncate).get0();
+ // Avoid filesystem problems with size-extending operations
+ f.truncate(sz).get();
+
+ auto fsync_semaphore = semaphore(0);
+ auto may_write_condvar = condition_variable();
+ auto fsync_thread = thread([&] {
+ auto fsynced = uint64_t(0);
+ while (fsynced < sz) {
+ fsync_semaphore.wait(fsync_every).get();
+ fsynced_at = written;
+ // Signal the condition variable now so that writes proceed
+ // in parallel with the fsync
+ may_write_condvar.broadcast();
+ f.flush().get();
+ fsynced += fsync_every;
+ }
+ });
+
+ auto write_semaphore = semaphore(write_concurrency);
+ while (written < sz) {
+ write_semaphore.wait().get();
+ may_write_condvar.wait([&] {
+ return written <= fsynced_at + max_write_ahead_of_fsync;
+ }).get();
+ auto buf = temporary_buffer<char>::aligned(f.memory_dma_alignment(), buffer_size);
+ f.dma_write(written, buf.get(), buf.size()).then([&fsync_semaphore, &write_semaphore, buf = std::move(buf)] (size_t w) {
+ fsync_semaphore.signal(buf.size());
+ write_semaphore.signal();
+ });
+ written += buffer_size;
+ }
+ write_semaphore.wait(write_concurrency).get();
+
+ fsync_thread.join().get();
+ f.close().get();
+ remove_file(fname).get();
+ });
+ }).then([] (internal::stall_report sr) {
+ std::cout << "parallel_write_fsync: " << sr << "\n";
+ });
+}
diff --git a/src/seastar/tests/unit/foreign_ptr_test.cc b/src/seastar/tests/unit/foreign_ptr_test.cc
new file mode 100644
index 00000000..5ae2abfc
--- /dev/null
+++ b/src/seastar/tests/unit/foreign_ptr_test.cc
@@ -0,0 +1,110 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2015 Cloudius Systems, Ltd.
+ */
+
+#include <seastar/testing/test_case.hh>
+
+#include <seastar/core/distributed.hh>
+#include <seastar/core/shared_ptr.hh>
+#include <seastar/core/thread.hh>
+#include <seastar/core/sleep.hh>
+
+using namespace seastar;
+
+SEASTAR_TEST_CASE(make_foreign_ptr_from_lw_shared_ptr) {
+ auto p = make_foreign(make_lw_shared<sstring>("foo"));
+ BOOST_REQUIRE(p->size() == 3);
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(make_foreign_ptr_from_shared_ptr) {
+ auto p = make_foreign(make_shared<sstring>("foo"));
+ BOOST_REQUIRE(p->size() == 3);
+ return make_ready_future<>();
+}
+
+
+SEASTAR_TEST_CASE(foreign_ptr_copy_test) {
+ return seastar::async([] {
+ auto ptr = make_foreign(make_shared<sstring>("foo"));
+ BOOST_REQUIRE(ptr->size() == 3);
+ auto ptr2 = ptr.copy().get0();
+ BOOST_REQUIRE(ptr2->size() == 3);
+ });
+}
+
+SEASTAR_TEST_CASE(foreign_ptr_get_test) {
+ auto p = make_foreign(std::make_unique<sstring>("foo"));
+ BOOST_REQUIRE_EQUAL(p.get(), &*p);
+ return make_ready_future<>();
+};
+
+SEASTAR_TEST_CASE(foreign_ptr_release_test) {
+ auto p = make_foreign(std::make_unique<sstring>("foo"));
+ auto raw_ptr = p.get();
+ BOOST_REQUIRE(bool(p));
+ BOOST_REQUIRE(p->size() == 3);
+ auto released_p = p.release();
+ BOOST_REQUIRE(!bool(p));
+ BOOST_REQUIRE(released_p->size() == 3);
+ BOOST_REQUIRE_EQUAL(raw_ptr, released_p.get());
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(foreign_ptr_reset_test) {
+ auto fp = make_foreign(std::make_unique<sstring>("foo"));
+ BOOST_REQUIRE(bool(fp));
+ BOOST_REQUIRE(fp->size() == 3);
+
+ fp.reset(std::make_unique<sstring>("foobar"));
+ BOOST_REQUIRE(bool(fp));
+ BOOST_REQUIRE(fp->size() == 6);
+
+ fp.reset();
+ BOOST_REQUIRE(!bool(fp));
+ return make_ready_future<>();
+}
+
+class dummy {
+ unsigned _cpu;
+public:
+ dummy() : _cpu(engine().cpu_id()) { }
+ ~dummy() { BOOST_REQUIRE_EQUAL(_cpu, engine().cpu_id()); }
+};
+
+SEASTAR_TEST_CASE(foreign_ptr_cpu_test) {
+ if (smp::count == 1) {
+ std::cerr << "Skipping multi-cpu foreign_ptr tests. Run with --smp=2 to test multi-cpu delete and reset.";
+ return make_ready_future<>();
+ }
+
+ using namespace std::chrono_literals;
+
+ return seastar::async([] {
+ auto p = smp::submit_to(1, [] {
+ return make_foreign(std::make_unique<dummy>());
+ }).get0();
+
+ p.reset(std::make_unique<dummy>());
+ }).then([] {
+ // Let ~foreign_ptr() take its course. RIP dummy.
+ return seastar::sleep(100ms);
+ });
+}
diff --git a/src/seastar/tests/unit/fstream_test.cc b/src/seastar/tests/unit/fstream_test.cc
new file mode 100644
index 00000000..f3b4c352
--- /dev/null
+++ b/src/seastar/tests/unit/fstream_test.cc
@@ -0,0 +1,510 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2015 Cloudius Systems, Ltd.
+ */
+
+#include <algorithm>
+#include <iostream>
+#include <numeric>
+#include <seastar/core/reactor.hh>
+#include <seastar/core/fstream.hh>
+#include <seastar/core/shared_ptr.hh>
+#include <seastar/core/app-template.hh>
+#include <seastar/core/do_with.hh>
+#include <seastar/core/seastar.hh>
+#include <seastar/testing/test_case.hh>
+#include <seastar/core/thread.hh>
+#include <seastar/util/defer.hh>
+#include <random>
+#include <boost/range/adaptor/transformed.hpp>
+#include <boost/algorithm/cxx11/any_of.hpp>
+#include "mock_file.hh"
+
+using namespace seastar;
+
+struct writer {
+ output_stream<char> out;
+ writer(file f) : out(make_file_output_stream(std::move(f))) {}
+};
+
+struct reader {
+ input_stream<char> in;
+ reader(file f) : in(make_file_input_stream(std::move(f))) {}
+ reader(file f, file_input_stream_options options) : in(make_file_input_stream(std::move(f), std::move(options))) {}
+};
+
+SEASTAR_TEST_CASE(test_fstream) {
+ auto sem = make_lw_shared<semaphore>(0);
+
+ open_file_dma("testfile.tmp",
+ open_flags::rw | open_flags::create | open_flags::truncate).then([sem] (file f) {
+ auto w = make_shared<writer>(std::move(f));
+ auto buf = static_cast<char*>(::malloc(4096));
+ memset(buf, 0, 4096);
+ buf[0] = '[';
+ buf[1] = 'A';
+ buf[4095] = ']';
+ w->out.write(buf, 4096).then([buf, w] {
+ ::free(buf);
+ return make_ready_future<>();
+ }).then([w] {
+ auto buf = static_cast<char*>(::malloc(8192));
+ memset(buf, 0, 8192);
+ buf[0] = '[';
+ buf[1] = 'B';
+ buf[8191] = ']';
+ return w->out.write(buf, 8192).then([buf, w] {
+ ::free(buf);
+ return w->out.close().then([w] {});
+ });
+ }).then([] {
+ return open_file_dma("testfile.tmp", open_flags::ro);
+ }).then([] (file f) {
+ /* file content after running the above:
+ * 00000000 5b 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |[A..............|
+ * 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+ * *
+ * 00000ff0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5d |...............]|
+ * 00001000 5b 42 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |[B..............|
+ * 00001010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+ * *
+ * 00002ff0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5d |...............]|
+ * 00003000
+ */
+ auto r = make_shared<reader>(std::move(f));
+ return r->in.read_exactly(4096 + 8192).then([r] (temporary_buffer<char> buf) {
+ auto p = buf.get();
+ BOOST_REQUIRE(p[0] == '[' && p[1] == 'A' && p[4095] == ']');
+ BOOST_REQUIRE(p[4096] == '[' && p[4096 + 1] == 'B' && p[4096 + 8191] == ']');
+ return make_ready_future<>();
+ }).then([r] {
+ return r->in.close();
+ }).finally([r] {});
+ }).finally([sem] () {
+ sem->signal();
+ });
+ });
+
+ return sem->wait();
+}
+
+SEASTAR_TEST_CASE(test_consume_skip_bytes) {
+ return seastar::async([] {
+ auto f = open_file_dma("testfile.tmp",
+ open_flags::rw | open_flags::create | open_flags::truncate).get0();
+ auto w = make_lw_shared<writer>(std::move(f));
+ auto write_block = [w] (char c, size_t size) {
+ std::vector<char> vec(size, c);
+ w->out.write(&vec.front(), vec.size()).get();
+ };
+ write_block('a', 8192);
+ write_block('b', 8192);
+ w->out.close().get();
+ /* file content after running the above:
+ * 00000000 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 |aaaaaaaaaaaaaaaa|
+ * *
+ * 00002000 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 |bbbbbbbbbbbbbbbb|
+ * *
+ * 00004000
+ */
+ f = open_file_dma("testfile.tmp", open_flags::ro).get0();
+ auto r = make_lw_shared<reader>(std::move(f), file_input_stream_options{512});
+ struct consumer {
+ uint64_t _count = 0;
+ using consumption_result_type = typename input_stream<char>::consumption_result_type;
+ using stop_consuming_type = typename consumption_result_type::stop_consuming_type;
+ using tmp_buf = stop_consuming_type::tmp_buf;
+
+ /*
+ * Consumer reads the file as follows:
+ * - first 8000 bytes are read in 512-byte chunks and checked
+ * - next 2000 bytes are skipped (jumping over both read buffer size and DMA block)
+ * - the remaining 6384 bytes are read and checked
+ */
+ future<consumption_result_type> operator()(tmp_buf buf) {
+ if (_count < 8000) {
+ auto delta = std::min(buf.size(), 8000 - _count);
+ for (auto c : buf.share(0, delta)) {
+ BOOST_REQUIRE_EQUAL(c, 'a');
+ }
+ buf.trim_front(delta);
+ _count += delta;
+
+ if (_count == 8000) {
+ return make_ready_future<consumption_result_type>(skip_bytes{2000 - buf.size()});
+ } else {
+ assert(buf.empty());
+ return make_ready_future<consumption_result_type>(continue_consuming{});
+ }
+ return make_ready_future<consumption_result_type>(continue_consuming{});
+ } else {
+ for (auto c : buf) {
+ BOOST_REQUIRE_EQUAL(c, 'b');
+ }
+ _count += buf.size();
+ if (_count < 14384) {
+ return make_ready_future<consumption_result_type>(continue_consuming{});
+ } else if (_count > 14384) {
+ BOOST_FAIL("Read more than expected");
+ }
+ return make_ready_future<consumption_result_type>(stop_consuming_type({}));
+ }
+ }
+ };
+ r->in.consume(consumer{}).get();
+ r->in.close().get();
+ });
+}
+
+SEASTAR_TEST_CASE(test_fstream_unaligned) {
+ auto sem = make_lw_shared<semaphore>(0);
+
+ open_file_dma("testfile.tmp",
+ open_flags::rw | open_flags::create | open_flags::truncate).then([sem] (file f) {
+ auto w = make_shared<writer>(std::move(f));
+ auto buf = static_cast<char*>(::malloc(40));
+ memset(buf, 0, 40);
+ buf[0] = '[';
+ buf[1] = 'A';
+ buf[39] = ']';
+ w->out.write(buf, 40).then([buf, w] {
+ ::free(buf);
+ return w->out.close().then([w] {});
+ }).then([] {
+ return open_file_dma("testfile.tmp", open_flags::ro);
+ }).then([] (file f) {
+ return do_with(std::move(f), [] (file& f) {
+ return f.size().then([] (size_t size) {
+ // assert that file was indeed truncated to the amount of bytes written.
+ BOOST_REQUIRE(size == 40);
+ return make_ready_future<>();
+ });
+ });
+ }).then([] {
+ return open_file_dma("testfile.tmp", open_flags::ro);
+ }).then([] (file f) {
+ auto r = make_shared<reader>(std::move(f));
+ return r->in.read_exactly(40).then([r] (temporary_buffer<char> buf) {
+ auto p = buf.get();
+ BOOST_REQUIRE(p[0] == '[' && p[1] == 'A' && p[39] == ']');
+ return make_ready_future<>();
+ }).then([r] {
+ return r->in.close();
+ }).finally([r] {});
+ }).finally([sem] () {
+ sem->signal();
+ });
+ });
+
+ return sem->wait();
+}
+
+future<> test_consume_until_end(uint64_t size) {
+ return open_file_dma("testfile.tmp",
+ open_flags::rw | open_flags::create | open_flags::truncate).then([size] (file f) {
+ return do_with(make_file_output_stream(f), [size] (output_stream<char>& out) {
+ std::vector<char> buf(size);
+ std::iota(buf.begin(), buf.end(), 0);
+ return out.write(buf.data(), buf.size()).then([&out] {
+ return out.flush();
+ });
+ }).then([f] {
+ return f.size();
+ }).then([size, f] (size_t real_size) {
+ BOOST_REQUIRE_EQUAL(size, real_size);
+ }).then([size, f] {
+ auto consumer = [offset = uint64_t(0), size] (temporary_buffer<char> buf) mutable -> future<input_stream<char>::unconsumed_remainder> {
+ if (!buf) {
+ return make_ready_future<input_stream<char>::unconsumed_remainder>(temporary_buffer<char>());
+ }
+ BOOST_REQUIRE(offset + buf.size() <= size);
+ std::vector<char> expected(buf.size());
+ std::iota(expected.begin(), expected.end(), offset);
+ offset += buf.size();
+ BOOST_REQUIRE(std::equal(buf.begin(), buf.end(), expected.begin()));
+ return make_ready_future<input_stream<char>::unconsumed_remainder>(compat::nullopt);
+ };
+ return do_with(make_file_input_stream(f), std::move(consumer), [] (input_stream<char>& in, auto& consumer) {
+ return in.consume(consumer).then([&in] {
+ return in.close();
+ });
+ });
+ });
+ });
+}
+
+
+SEASTAR_TEST_CASE(test_consume_aligned_file) {
+ return test_consume_until_end(4096);
+}
+
+SEASTAR_TEST_CASE(test_consume_empty_file) {
+ return test_consume_until_end(0);
+}
+
+SEASTAR_TEST_CASE(test_consume_unaligned_file) {
+ return test_consume_until_end(1);
+}
+
+SEASTAR_TEST_CASE(test_consume_unaligned_file_large) {
+ return test_consume_until_end((1 << 20) + 1);
+}
+
+SEASTAR_TEST_CASE(test_input_stream_esp_around_eof) {
+ return seastar::async([] {
+ auto flen = uint64_t(5341);
+ auto rdist = std::uniform_int_distribution<char>();
+ auto reng = std::default_random_engine();
+ auto data = boost::copy_range<std::vector<uint8_t>>(
+ boost::irange<uint64_t>(0, flen)
+ | boost::adaptors::transformed([&] (int x) { return rdist(reng); }));
+ auto f = open_file_dma("file.tmp",
+ open_flags::rw | open_flags::create | open_flags::truncate).get0();
+ auto out = make_file_output_stream(f);
+ out.write(reinterpret_cast<const char*>(data.data()), data.size()).get();
+ out.flush().get();
+ //out.close().get(); // FIXME: closes underlying stream:?!
+ struct range { uint64_t start; uint64_t end; };
+ auto ranges = std::vector<range>{{
+ range{0, flen},
+ range{0, flen * 2},
+ range{0, flen + 1},
+ range{0, flen - 1},
+ range{0, 1},
+ range{1, 2},
+ range{flen - 1, flen},
+ range{flen - 1, flen + 1},
+ range{flen, flen + 1},
+ range{flen + 1, flen + 2},
+ range{1023, flen-1},
+ range{1023, flen},
+ range{1023, flen + 2},
+ range{8193, 8194},
+ range{1023, 1025},
+ range{1023, 1024},
+ range{1024, 1025},
+ range{1023, 4097},
+ }};
+ auto opt = file_input_stream_options();
+ opt.buffer_size = 512;
+ for (auto&& r : ranges) {
+ auto start = r.start;
+ auto end = r.end;
+ auto len = end - start;
+ auto in = make_file_input_stream(f, start, len, opt);
+ std::vector<uint8_t> readback;
+ auto more = true;
+ while (more) {
+ auto rdata = in.read().get0();
+ for (size_t i = 0; i < rdata.size(); ++i) {
+ readback.push_back(rdata.get()[i]);
+ }
+ more = !rdata.empty();
+ }
+ //in.close().get();
+ auto xlen = std::min(end, flen) - std::min(flen, start);
+ if (xlen != readback.size()) {
+ BOOST_FAIL(format("Expected {:d} bytes but got {:d}, start={:d}, end={:d}", xlen, readback.size(), start, end));
+ }
+ BOOST_REQUIRE(std::equal(readback.begin(), readback.end(), data.begin() + std::min(start, flen)));
+ }
+ f.close().get();
+ });
+}
+
+SEASTAR_TEST_CASE(file_handle_test) {
+ return seastar::async([] {
+ auto f = open_file_dma("testfile.tmp", open_flags::create | open_flags::truncate | open_flags::rw).get0();
+ auto buf = static_cast<char*>(aligned_alloc(4096, 4096));
+ auto del = defer([&] { ::free(buf); });
+ for (unsigned i = 0; i < 4096; ++i) {
+ buf[i] = i;
+ }
+ f.dma_write(0, buf, 4096).get();
+ auto bad = std::vector<unsigned>(smp::count); // std::vector<bool> is special and unsuitable because it uses bitfields
+ smp::invoke_on_all([fh = f.dup(), &bad] {
+ return seastar::async([fh, &bad] {
+ auto f = fh.to_file();
+ auto buf = static_cast<char*>(aligned_alloc(4096, 4096));
+ auto del = defer([&] { ::free(buf); });
+ f.dma_read(0, buf, 4096).get();
+ for (unsigned i = 0; i < 4096; ++i) {
+ bad[engine().cpu_id()] |= buf[i] != char(i);
+ }
+ });
+ }).get();
+ BOOST_REQUIRE(!boost::algorithm::any_of_equal(bad, 1u));
+ f.close().get();
+ });
+}
+
+SEASTAR_TEST_CASE(test_fstream_slow_start) {
+ return seastar::async([] {
+ static constexpr size_t file_size = 128 * 1024 * 1024;
+ static constexpr size_t buffer_size = 260 * 1024;
+ static constexpr size_t read_ahead = 1;
+
+ auto mock_file = make_shared<mock_read_only_file>(file_size);
+
+ auto history = make_lw_shared<file_input_stream_history>();
+
+ file_input_stream_options options{};
+ options.buffer_size = buffer_size;
+ options.read_ahead = read_ahead;
+ options.dynamic_adjustments = history;
+
+ static constexpr size_t requests_at_slow_start = 2; // 1 request + 1 read-ahead
+ static constexpr size_t requests_at_full_speed = read_ahead + 1; // 1 request + read_ahead
+
+ compat::optional<size_t> initial_read_size;
+
+ auto read_whole_file_with_slow_start = [&] (auto fstr) {
+ uint64_t total_read = 0;
+ size_t previous_buffer_length = 0;
+
+ // We don't want to assume too much about fstream internals, but with
+ // no history we should start with a buffer sizes somewhere in
+ // (0, buffer_size) range.
+ mock_file->set_read_size_verifier([&] (size_t length) {
+ BOOST_CHECK_LE(length, initial_read_size.value_or(buffer_size - 1));
+ BOOST_CHECK_GE(length, initial_read_size.value_or(1));
+ previous_buffer_length = length;
+ if (!initial_read_size) {
+ initial_read_size = length;
+ }
+ });
+
+ // Slow start phase
+ while (true) {
+ // We should leave slow start before reading the whole file.
+ BOOST_CHECK_LT(total_read, file_size);
+
+ mock_file->set_allowed_read_requests(requests_at_slow_start);
+ auto buf = fstr.read().get0();
+ BOOST_CHECK_GT(buf.size(), 0u);
+
+ mock_file->set_read_size_verifier([&] (size_t length) {
+ // There is no reason to reduce buffer size.
+ BOOST_CHECK_LE(length, std::min(previous_buffer_length * 2, buffer_size));
+ BOOST_CHECK_GE(length, previous_buffer_length);
+ previous_buffer_length = length;
+ });
+
+ BOOST_TEST_MESSAGE(format("Size {:d}", buf.size()));
+ total_read += buf.size();
+ if (buf.size() == buffer_size) {
+ BOOST_TEST_MESSAGE("Leaving slow start phase.");
+ break;
+ }
+ }
+
+ // Reading at full speed now
+ mock_file->set_expected_read_size(buffer_size);
+ while (total_read != file_size) {
+ mock_file->set_allowed_read_requests(requests_at_full_speed);
+ auto buf = fstr.read().get0();
+ total_read += buf.size();
+ }
+
+ mock_file->set_allowed_read_requests(requests_at_full_speed);
+ auto buf = fstr.read().get0();
+ BOOST_CHECK_EQUAL(buf.size(), 0u);
+ assert(buf.size() == 0);
+ };
+
+ auto read_while_file_at_full_speed = [&] (auto fstr) {
+ uint64_t total_read = 0;
+
+ mock_file->set_expected_read_size(buffer_size);
+ while (total_read != file_size) {
+ mock_file->set_allowed_read_requests(requests_at_full_speed);
+ auto buf = fstr.read().get0();
+ total_read += buf.size();
+ }
+
+ mock_file->set_allowed_read_requests(requests_at_full_speed);
+ auto buf = fstr.read().get0();
+ BOOST_CHECK_EQUAL(buf.size(), 0u);
+ };
+
+ auto read_and_skip_a_lot = [&] (auto fstr) {
+ uint64_t total_read = 0;
+ size_t previous_buffer_size = buffer_size;
+
+ mock_file->set_allowed_read_requests(std::numeric_limits<size_t>::max());
+ mock_file->set_read_size_verifier([&] (size_t length) {
+ // There is no reason to reduce buffer size.
+ BOOST_CHECK_LE(length, previous_buffer_size);
+ BOOST_CHECK_GE(length, initial_read_size.value_or(1));
+ previous_buffer_size = length;
+ });
+ while (total_read != file_size) {
+ auto buf = fstr.read().get0();
+ total_read += buf.size();
+
+ buf = fstr.read().get0();
+ total_read += buf.size();
+
+ auto skip_by = std::min(file_size - total_read, buffer_size * 2);
+ fstr.skip(skip_by).get();
+ total_read += skip_by;
+ }
+
+ // We should be back at slow start at this stage.
+ BOOST_CHECK_LT(previous_buffer_size, buffer_size);
+ if (initial_read_size) {
+ BOOST_CHECK_EQUAL(previous_buffer_size, *initial_read_size);
+ }
+
+ mock_file->set_allowed_read_requests(requests_at_full_speed);
+ auto buf = fstr.read().get0();
+ BOOST_CHECK_EQUAL(buf.size(), 0u);
+
+ };
+
+ auto make_fstream = [&] {
+ struct fstream_wrapper {
+ input_stream<char> s;
+ fstream_wrapper(fstream_wrapper&&) = default;
+ fstream_wrapper& operator=(fstream_wrapper&&) = default;
+ future<temporary_buffer<char>> read() {
+ return s.read();
+ }
+ future<> skip(uint64_t n) {
+ return s.skip(n);
+ }
+ ~fstream_wrapper() {
+ s.close().get();
+ }
+ };
+ return fstream_wrapper{make_file_input_stream(file(mock_file), 0, file_size, options)};
+ };
+
+ BOOST_TEST_MESSAGE("Reading file, no history, expectiong a slow start");
+ read_whole_file_with_slow_start(make_fstream());
+ BOOST_TEST_MESSAGE("Reading file again, everything good so far, read at full speed");
+ read_while_file_at_full_speed(make_fstream());
+ BOOST_TEST_MESSAGE("Reading and skipping a lot");
+ read_and_skip_a_lot(make_fstream());
+ BOOST_TEST_MESSAGE("Reading file, bad history, we are back at slow start...");
+ read_whole_file_with_slow_start(make_fstream());
+ BOOST_TEST_MESSAGE("Reading file yet again, should've recovered by now");
+ read_while_file_at_full_speed(make_fstream());
+ });
+}
diff --git a/src/seastar/tests/unit/futures_test.cc b/src/seastar/tests/unit/futures_test.cc
new file mode 100644
index 00000000..ab92fdd5
--- /dev/null
+++ b/src/seastar/tests/unit/futures_test.cc
@@ -0,0 +1,955 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2014 Cloudius Systems, Ltd.
+ */
+
+#include <seastar/testing/test_case.hh>
+
+#include <seastar/core/shared_ptr.hh>
+#include <seastar/core/future-util.hh>
+#include <seastar/core/sleep.hh>
+#include <seastar/core/do_with.hh>
+#include <seastar/core/shared_future.hh>
+#include <seastar/core/thread.hh>
+#include <boost/iterator/counting_iterator.hpp>
+
+using namespace seastar;
+using namespace std::chrono_literals;
+
+class expected_exception : std::runtime_error {
+public:
+ expected_exception() : runtime_error("expected") {}
+};
+
+SEASTAR_TEST_CASE(test_finally_is_called_on_success_and_failure) {
+ auto finally1 = make_shared<bool>();
+ auto finally2 = make_shared<bool>();
+
+ return make_ready_future().then([] {
+ }).finally([=] {
+ *finally1 = true;
+ }).then([] {
+ throw std::runtime_error("");
+ }).finally([=] {
+ *finally2 = true;
+ }).then_wrapped([=] (auto&& f) {
+ BOOST_REQUIRE(*finally1);
+ BOOST_REQUIRE(*finally2);
+
+ // Should be failed.
+ try {
+ f.get();
+ BOOST_REQUIRE(false);
+ } catch (...) {}
+ });
+}
+
+SEASTAR_TEST_CASE(test_get_on_promise) {
+ auto p = promise<uint32_t>();
+ p.set_value(10);
+ BOOST_REQUIRE_EQUAL(10u, p.get_future().get0());
+ return make_ready_future();
+}
+
+SEASTAR_TEST_CASE(test_finally_waits_for_inner) {
+ auto finally = make_shared<bool>();
+ auto p = make_shared<promise<>>();
+
+ auto f = make_ready_future().then([] {
+ }).finally([=] {
+ return p->get_future().then([=] {
+ *finally = true;
+ });
+ }).then([=] {
+ BOOST_REQUIRE(*finally);
+ });
+ BOOST_REQUIRE(!*finally);
+ p->set_value();
+ return f;
+}
+
+SEASTAR_TEST_CASE(test_finally_is_called_on_success_and_failure__not_ready_to_armed) {
+ auto finally1 = make_shared<bool>();
+ auto finally2 = make_shared<bool>();
+
+ promise<> p;
+ auto f = p.get_future().finally([=] {
+ *finally1 = true;
+ }).then([] {
+ throw std::runtime_error("");
+ }).finally([=] {
+ *finally2 = true;
+ }).then_wrapped([=] (auto &&f) {
+ BOOST_REQUIRE(*finally1);
+ BOOST_REQUIRE(*finally2);
+ try {
+ f.get();
+ } catch (...) {} // silence exceptional future ignored messages
+ });
+
+ p.set_value();
+ return f;
+}
+
+SEASTAR_TEST_CASE(test_exception_from_finally_fails_the_target) {
+ promise<> pr;
+ auto f = pr.get_future().finally([=] {
+ throw std::runtime_error("");
+ }).then([] {
+ BOOST_REQUIRE(false);
+ }).then_wrapped([] (auto&& f) {
+ try {
+ f.get();
+ } catch (...) {} // silence exceptional future ignored messages
+ });
+
+ pr.set_value();
+ return f;
+}
+
+SEASTAR_TEST_CASE(test_exception_from_finally_fails_the_target_on_already_resolved) {
+ return make_ready_future().finally([=] {
+ throw std::runtime_error("");
+ }).then([] {
+ BOOST_REQUIRE(false);
+ }).then_wrapped([] (auto&& f) {
+ try {
+ f.get();
+ } catch (...) {} // silence exceptional future ignored messages
+ });
+}
+
+SEASTAR_TEST_CASE(test_exception_thrown_from_then_wrapped_causes_future_to_fail) {
+ return make_ready_future().then_wrapped([] (auto&& f) {
+ throw std::runtime_error("");
+ }).then_wrapped([] (auto&& f) {
+ try {
+ f.get();
+ BOOST_REQUIRE(false);
+ } catch (...) {}
+ });
+}
+
+SEASTAR_TEST_CASE(test_exception_thrown_from_then_wrapped_causes_future_to_fail__async_case) {
+ promise<> p;
+
+ auto f = p.get_future().then_wrapped([] (auto&& f) {
+ throw std::runtime_error("");
+ }).then_wrapped([] (auto&& f) {
+ try {
+ f.get();
+ BOOST_REQUIRE(false);
+ } catch (...) {}
+ });
+
+ p.set_value();
+
+ return f;
+}
+
+SEASTAR_TEST_CASE(test_failing_intermediate_promise_should_fail_the_master_future) {
+ promise<> p1;
+ promise<> p2;
+
+ auto f = p1.get_future().then([f = std::move(p2.get_future())] () mutable {
+ return std::move(f);
+ }).then([] {
+ BOOST_REQUIRE(false);
+ });
+
+ p1.set_value();
+ p2.set_exception(std::runtime_error("boom"));
+
+ return std::move(f).then_wrapped([](auto&& f) {
+ try {
+ f.get();
+ BOOST_REQUIRE(false);
+ } catch (...) {}
+ });
+}
+
+SEASTAR_TEST_CASE(test_future_forwarding__not_ready_to_unarmed) {
+ promise<> p1;
+ promise<> p2;
+
+ auto f1 = p1.get_future();
+ auto f2 = p2.get_future();
+
+ f1.forward_to(std::move(p2));
+
+ BOOST_REQUIRE(!f2.available());
+
+ auto called = f2.then([] {});
+
+ p1.set_value();
+ return called;
+}
+
+SEASTAR_TEST_CASE(test_future_forwarding__not_ready_to_armed) {
+ promise<> p1;
+ promise<> p2;
+
+ auto f1 = p1.get_future();
+ auto f2 = p2.get_future();
+
+ auto called = f2.then([] {});
+
+ f1.forward_to(std::move(p2));
+
+ BOOST_REQUIRE(!f2.available());
+
+ p1.set_value();
+
+ return called;
+}
+
+SEASTAR_TEST_CASE(test_future_forwarding__ready_to_unarmed) {
+ promise<> p2;
+
+ auto f1 = make_ready_future<>();
+ auto f2 = p2.get_future();
+
+ std::move(f1).forward_to(std::move(p2));
+ BOOST_REQUIRE(f2.available());
+
+ return std::move(f2).then_wrapped([] (future<> f) {
+ BOOST_REQUIRE(!f.failed());
+ });
+}
+
+SEASTAR_TEST_CASE(test_future_forwarding__ready_to_armed) {
+ promise<> p2;
+
+ auto f1 = make_ready_future<>();
+ auto f2 = p2.get_future();
+
+ auto called = std::move(f2).then([] {});
+
+ BOOST_REQUIRE(f1.available());
+
+ f1.forward_to(std::move(p2));
+ return called;
+}
+
+static void forward_dead_unarmed_promise_with_dead_future_to(promise<>& p) {
+ promise<> p2;
+ p.get_future().forward_to(std::move(p2));
+}
+
+SEASTAR_TEST_CASE(test_future_forwarding__ready_to_unarmed_soon_to_be_dead) {
+ promise<> p1;
+ forward_dead_unarmed_promise_with_dead_future_to(p1);
+ make_ready_future<>().forward_to(std::move(p1));
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(test_exception_can_be_thrown_from_do_until_body) {
+ return do_until([] { return false; }, [] {
+ throw expected_exception();
+ return now();
+ }).then_wrapped([] (auto&& f) {
+ try {
+ f.get();
+ BOOST_FAIL("should have failed");
+ } catch (const expected_exception& e) {
+ // expected
+ }
+ });
+}
+
+SEASTAR_TEST_CASE(test_bare_value_can_be_returned_from_callback) {
+ return now().then([] {
+ return 3;
+ }).then([] (int x) {
+ BOOST_REQUIRE(x == 3);
+ });
+}
+
+SEASTAR_TEST_CASE(test_when_all_iterator_range) {
+ std::vector<future<size_t>> futures;
+ for (size_t i = 0; i != 1000000; ++i) {
+ // .then() usually returns a ready future, but sometimes it
+ // doesn't, so call it a million times. This exercises both
+ // available and unavailable paths in when_all().
+ futures.push_back(make_ready_future<>().then([i] { return i; }));
+ }
+ // Verify the above statement is correct
+ BOOST_REQUIRE(!std::all_of(futures.begin(), futures.end(),
+ [] (auto& f) { return f.available(); }));
+ auto p = make_shared(std::move(futures));
+ return when_all(p->begin(), p->end()).then([p] (std::vector<future<size_t>> ret) {
+ BOOST_REQUIRE(std::all_of(ret.begin(), ret.end(), [] (auto& f) { return f.available(); }));
+ BOOST_REQUIRE(std::all_of(ret.begin(), ret.end(), [&ret] (auto& f) { return std::get<0>(f.get()) == size_t(&f - ret.data()); }));
+ });
+}
+
+SEASTAR_TEST_CASE(test_map_reduce) {
+ auto square = [] (long x) { return make_ready_future<long>(x*x); };
+ long n = 1000;
+ return map_reduce(boost::make_counting_iterator<long>(0), boost::make_counting_iterator<long>(n),
+ square, long(0), std::plus<long>()).then([n] (auto result) {
+ auto m = n - 1; // counting does not include upper bound
+ BOOST_REQUIRE_EQUAL(result, (m * (m + 1) * (2*m + 1)) / 6);
+ });
+}
+
+// This test doesn't actually test anything - it just waits for the future
+// returned by sleep to complete. However, a bug we had in sleep() caused
+// this test to fail the sanitizer in the debug build, so this is a useful
+// regression test.
+SEASTAR_TEST_CASE(test_sleep) {
+ return sleep(std::chrono::milliseconds(100));
+}
+
+SEASTAR_TEST_CASE(test_do_with_1) {
+ return do_with(1, [] (int& one) {
+ BOOST_REQUIRE_EQUAL(one, 1);
+ return make_ready_future<>();
+ });
+}
+
+SEASTAR_TEST_CASE(test_do_with_2) {
+ return do_with(1, 2L, [] (int& one, long two) {
+ BOOST_REQUIRE_EQUAL(one, 1);
+ BOOST_REQUIRE_EQUAL(two, 2);
+ return make_ready_future<>();
+ });
+}
+
+SEASTAR_TEST_CASE(test_do_with_3) {
+ return do_with(1, 2L, 3, [] (int& one, long two, int three) {
+ BOOST_REQUIRE_EQUAL(one, 1);
+ BOOST_REQUIRE_EQUAL(two, 2);
+ BOOST_REQUIRE_EQUAL(three, 3);
+ return make_ready_future<>();
+ });
+}
+
+SEASTAR_TEST_CASE(test_do_with_4) {
+ return do_with(1, 2L, 3, 4, [] (int& one, long two, int three, int four) {
+ BOOST_REQUIRE_EQUAL(one, 1);
+ BOOST_REQUIRE_EQUAL(two, 2);
+ BOOST_REQUIRE_EQUAL(three, 3);
+ BOOST_REQUIRE_EQUAL(four, 4);
+ return make_ready_future<>();
+ });
+}
+
+SEASTAR_TEST_CASE(test_do_while_stopping_immediately) {
+ return do_with(int(0), [] (int& count) {
+ return repeat([&count] {
+ ++count;
+ return stop_iteration::yes;
+ }).then([&count] {
+ BOOST_REQUIRE(count == 1);
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_do_while_stopping_after_two_iterations) {
+ return do_with(int(0), [] (int& count) {
+ return repeat([&count] {
+ ++count;
+ return count == 2 ? stop_iteration::yes : stop_iteration::no;
+ }).then([&count] {
+ BOOST_REQUIRE(count == 2);
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_do_while_failing_in_the_first_step) {
+ return repeat([] {
+ throw expected_exception();
+ return stop_iteration::no;
+ }).then_wrapped([](auto&& f) {
+ try {
+ f.get();
+ BOOST_FAIL("should not happen");
+ } catch (const expected_exception&) {
+ // expected
+ }
+ });
+}
+
+SEASTAR_TEST_CASE(test_do_while_failing_in_the_second_step) {
+ return do_with(int(0), [] (int& count) {
+ return repeat([&count] {
+ ++count;
+ if (count > 1) {
+ throw expected_exception();
+ }
+ return later().then([] { return stop_iteration::no; });
+ }).then_wrapped([&count](auto&& f) {
+ try {
+ f.get();
+ BOOST_FAIL("should not happen");
+ } catch (const expected_exception&) {
+ BOOST_REQUIRE(count == 2);
+ }
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_parallel_for_each) {
+ return async([] {
+ // empty
+ parallel_for_each(std::vector<int>(), [] (int) -> future<> {
+ BOOST_FAIL("should not reach");
+ abort();
+ }).get();
+
+ // immediate result
+ auto range = boost::copy_range<std::vector<int>>(boost::irange(1, 6));
+ auto sum = 0;
+ parallel_for_each(range, [&sum] (int v) {
+ sum += v;
+ return make_ready_future<>();
+ }).get();
+ BOOST_REQUIRE_EQUAL(sum, 15);
+
+ // all suspend
+ sum = 0;
+ parallel_for_each(range, [&sum] (int v) {
+ return later().then([&sum, v] {
+ sum += v;
+ });
+ }).get();
+ BOOST_REQUIRE_EQUAL(sum, 15);
+
+ // throws immediately
+ BOOST_CHECK_EXCEPTION(parallel_for_each(range, [&sum] (int) -> future<> {
+ throw 5;
+ }).get(), int, [] (int v) { return v == 5; });
+
+ // throws after suspension
+ BOOST_CHECK_EXCEPTION(parallel_for_each(range, [&sum] (int) {
+ return later().then([] {
+ throw 5;
+ });
+ }).get(), int, [] (int v) { return v == 5; });
+ });
+}
+
+SEASTAR_TEST_CASE(test_parallel_for_each_early_failure) {
+ return do_with(0, [] (int& counter) {
+ return parallel_for_each(boost::irange(0, 11000), [&counter] (int i) {
+ using namespace std::chrono_literals;
+ // force scheduling
+ return sleep((i % 31 + 1) * 1ms).then([&counter, i] {
+ ++counter;
+ if (i % 1777 == 1337) {
+ return make_exception_future<>(i);
+ }
+ return make_ready_future<>();
+ });
+ }).then_wrapped([&counter] (future<> f) {
+ BOOST_REQUIRE_EQUAL(counter, 11000);
+ BOOST_REQUIRE(f.failed());
+ try {
+ f.get();
+ BOOST_FAIL("wanted an exception");
+ } catch (int i) {
+ BOOST_REQUIRE(i % 1777 == 1337);
+ } catch (...) {
+ BOOST_FAIL("bad exception type");
+ }
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_parallel_for_each_waits_for_all_fibers_even_if_one_of_them_failed) {
+ auto can_exit = make_lw_shared<bool>(false);
+ return parallel_for_each(boost::irange(0, 2), [can_exit] (int i) {
+ return later().then([i, can_exit] {
+ if (i == 1) {
+ throw expected_exception();
+ } else {
+ using namespace std::chrono_literals;
+ return sleep(300ms).then([can_exit] {
+ *can_exit = true;
+ });
+ }
+ });
+ }).then_wrapped([can_exit] (auto&& f) {
+ try {
+ f.get();
+ } catch (...) {
+ // expected
+ }
+ BOOST_REQUIRE(*can_exit);
+ });
+}
+
+#ifndef SEASTAR_SHUFFLE_TASK_QUEUE
+SEASTAR_TEST_CASE(test_high_priority_task_runs_before_ready_continuations) {
+ return now().then([] {
+ auto flag = make_lw_shared<bool>(false);
+ engine().add_high_priority_task(make_task([flag] {
+ *flag = true;
+ }));
+ make_ready_future().then([flag] {
+ BOOST_REQUIRE(*flag);
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_high_priority_task_runs_in_the_middle_of_loops) {
+ auto counter = make_lw_shared<int>(0);
+ auto flag = make_lw_shared<bool>(false);
+ return repeat([counter, flag] {
+ if (*counter == 1) {
+ BOOST_REQUIRE(*flag);
+ return stop_iteration::yes;
+ }
+ engine().add_high_priority_task(make_task([flag] {
+ *flag = true;
+ }));
+ ++(*counter);
+ return stop_iteration::no;
+ });
+}
+#endif
+
+SEASTAR_TEST_CASE(futurize_apply_val_exception) {
+ return futurize<int>::apply([] (int arg) { throw expected_exception(); return arg; }, 1).then_wrapped([] (future<int> f) {
+ try {
+ f.get();
+ BOOST_FAIL("should have thrown");
+ } catch (expected_exception& e) {}
+ });
+}
+
+SEASTAR_TEST_CASE(futurize_apply_val_ok) {
+ return futurize<int>::apply([] (int arg) { return arg * 2; }, 2).then_wrapped([] (future<int> f) {
+ try {
+ auto x = f.get0();
+ BOOST_REQUIRE_EQUAL(x, 4);
+ } catch (expected_exception& e) {
+ BOOST_FAIL("should not have thrown");
+ }
+ });
+}
+
+SEASTAR_TEST_CASE(futurize_apply_val_future_exception) {
+ return futurize<int>::apply([] (int a) {
+ return sleep(std::chrono::milliseconds(100)).then([] {
+ throw expected_exception();
+ return make_ready_future<int>(0);
+ });
+ }, 0).then_wrapped([] (future<int> f) {
+ try {
+ f.get();
+ BOOST_FAIL("should have thrown");
+ } catch (expected_exception& e) { }
+ });
+}
+
+SEASTAR_TEST_CASE(futurize_apply_val_future_ok) {
+ return futurize<int>::apply([] (int a) {
+ return sleep(std::chrono::milliseconds(100)).then([a] {
+ return make_ready_future<int>(a * 100);
+ });
+ }, 2).then_wrapped([] (future<int> f) {
+ try {
+ auto x = f.get0();
+ BOOST_REQUIRE_EQUAL(x, 200);
+ } catch (expected_exception& e) {
+ BOOST_FAIL("should not have thrown");
+ }
+ });
+}
+SEASTAR_TEST_CASE(futurize_apply_void_exception) {
+ return futurize<void>::apply([] (auto arg) { throw expected_exception(); }, 0).then_wrapped([] (future<> f) {
+ try {
+ f.get();
+ BOOST_FAIL("should have thrown");
+ } catch (expected_exception& e) {}
+ });
+}
+
+SEASTAR_TEST_CASE(futurize_apply_void_ok) {
+ return futurize<void>::apply([] (auto arg) { }, 0).then_wrapped([] (future<> f) {
+ try {
+ f.get();
+ } catch (expected_exception& e) {
+ BOOST_FAIL("should not have thrown");
+ }
+ });
+}
+
+SEASTAR_TEST_CASE(futurize_apply_void_future_exception) {
+ return futurize<void>::apply([] (auto a) {
+ return sleep(std::chrono::milliseconds(100)).then([] {
+ throw expected_exception();
+ });
+ }, 0).then_wrapped([] (future<> f) {
+ try {
+ f.get();
+ BOOST_FAIL("should have thrown");
+ } catch (expected_exception& e) { }
+ });
+}
+
+SEASTAR_TEST_CASE(futurize_apply_void_future_ok) {
+ auto a = make_lw_shared<int>(1);
+ return futurize<void>::apply([] (int& a) {
+ return sleep(std::chrono::milliseconds(100)).then([&a] {
+ a *= 100;
+ });
+ }, *a).then_wrapped([a] (future<> f) {
+ try {
+ f.get();
+ BOOST_REQUIRE_EQUAL(*a, 100);
+ } catch (expected_exception& e) {
+ BOOST_FAIL("should not have thrown");
+ }
+ });
+}
+
+SEASTAR_TEST_CASE(test_shared_future_propagates_value_to_all) {
+ return seastar::async([] {
+ promise<shared_ptr<int>> p; // shared_ptr<> to check it deals with emptyable types
+ shared_future<shared_ptr<int>> f(p.get_future());
+
+ auto f1 = f.get_future();
+ auto f2 = f.get_future();
+
+ p.set_value(make_shared<int>(1));
+ BOOST_REQUIRE(*f1.get0() == 1);
+ BOOST_REQUIRE(*f2.get0() == 1);
+ });
+}
+
+template<typename... T>
+void check_fails_with_expected(future<T...> f) {
+ try {
+ f.get();
+ BOOST_FAIL("Should have failed");
+ } catch (expected_exception&) {
+ // expected
+ }
+}
+
+SEASTAR_TEST_CASE(test_shared_future_propagates_value_to_copies) {
+ return seastar::async([] {
+ promise<int> p;
+ auto sf1 = shared_future<int>(p.get_future());
+ auto sf2 = sf1;
+
+ auto f1 = sf1.get_future();
+ auto f2 = sf2.get_future();
+
+ p.set_value(1);
+
+ BOOST_REQUIRE(f1.get0() == 1);
+ BOOST_REQUIRE(f2.get0() == 1);
+ });
+}
+
+SEASTAR_TEST_CASE(test_obtaining_future_from_shared_future_after_it_is_resolved) {
+ promise<int> p1;
+ promise<int> p2;
+ auto sf1 = shared_future<int>(p1.get_future());
+ auto sf2 = shared_future<int>(p2.get_future());
+ p1.set_value(1);
+ p2.set_exception(expected_exception());
+ return sf2.get_future().then_wrapped([f1 = sf1.get_future()] (auto&& f) mutable {
+ check_fails_with_expected(std::move(f));
+ return std::move(f1);
+ }).then_wrapped([] (auto&& f) {
+ BOOST_REQUIRE(f.get0() == 1);
+ });
+}
+
+SEASTAR_TEST_CASE(test_valueless_shared_future) {
+ return seastar::async([] {
+ promise<> p;
+ shared_future<> f(p.get_future());
+
+ auto f1 = f.get_future();
+ auto f2 = f.get_future();
+
+ p.set_value();
+
+ f1.get();
+ f2.get();
+ });
+}
+
+SEASTAR_TEST_CASE(test_shared_future_propagates_errors_to_all) {
+ promise<int> p;
+ shared_future<int> f(p.get_future());
+
+ auto f1 = f.get_future();
+ auto f2 = f.get_future();
+
+ p.set_exception(expected_exception());
+
+ return f1.then_wrapped([f2 = std::move(f2)] (auto&& f) mutable {
+ check_fails_with_expected(std::move(f));
+ return std::move(f2);
+ }).then_wrapped([] (auto&& f) mutable {
+ check_fails_with_expected(std::move(f));
+ });
+}
+
+SEASTAR_TEST_CASE(test_futurize_from_tuple) {
+ std::tuple<int> v1 = std::make_tuple(3);
+ std::tuple<> v2 = {};
+ BOOST_REQUIRE(futurize<int>::from_tuple(v1).get() == v1);
+ BOOST_REQUIRE(futurize<void>::from_tuple(v2).get() == v2);
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(test_repeat_until_value) {
+ return do_with(int(), [] (int& counter) {
+ return repeat_until_value([&counter] () -> future<compat::optional<int>> {
+ if (counter == 10000) {
+ return make_ready_future<compat::optional<int>>(counter);
+ } else {
+ ++counter;
+ return make_ready_future<compat::optional<int>>(compat::nullopt);
+ }
+ }).then([&counter] (int result) {
+ BOOST_REQUIRE(counter == 10000);
+ BOOST_REQUIRE(result == counter);
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_when_allx) {
+ return when_all(later(), later(), make_ready_future()).discard_result();
+}
+
+template<typename E, typename... T>
+static void check_failed_with(future<T...>&& f) {
+ BOOST_REQUIRE(f.failed());
+ try {
+ f.get();
+ BOOST_FAIL("exception expected");
+ } catch (const E& e) {
+ // expected
+ } catch (...) {
+ BOOST_FAIL(format("wrong exception: {}", std::current_exception()));
+ }
+}
+
+template<typename... T>
+static void check_timed_out(future<T...>&& f) {
+ check_failed_with<timed_out_error>(std::move(f));
+}
+
+SEASTAR_TEST_CASE(test_with_timeout_when_it_times_out) {
+ return seastar::async([] {
+ promise<> pr;
+ auto f = with_timeout(manual_clock::now() + 2s, pr.get_future());
+
+ BOOST_REQUIRE(!f.available());
+
+ manual_clock::advance(1s);
+ later().get();
+
+ BOOST_REQUIRE(!f.available());
+
+ manual_clock::advance(1s);
+ later().get();
+
+ check_timed_out(std::move(f));
+
+ pr.set_value();
+ });
+}
+
+SEASTAR_TEST_CASE(test_custom_exception_factory_in_with_timeout) {
+ return seastar::async([] {
+ class custom_error : public std::exception {
+ public:
+ virtual const char* what() const noexcept {
+ return "timedout";
+ }
+ };
+ struct my_exception_factory {
+ static auto timeout() {
+ return custom_error();
+ }
+ };
+ promise<> pr;
+ auto f = with_timeout<my_exception_factory>(manual_clock::now() + 1s, pr.get_future());
+
+ manual_clock::advance(1s);
+ later().get();
+
+ check_failed_with<custom_error>(std::move(f));
+ });
+}
+
+SEASTAR_TEST_CASE(test_with_timeout_when_it_does_not_time_out) {
+ return seastar::async([] {
+ {
+ promise<int> pr;
+ auto f = with_timeout(manual_clock::now() + 1s, pr.get_future());
+
+ pr.set_value(42);
+
+ BOOST_REQUIRE_EQUAL(f.get0(), 42);
+ }
+
+ // Check that timer was indeed cancelled
+ manual_clock::advance(1s);
+ later().get();
+ });
+}
+
+SEASTAR_TEST_CASE(test_shared_future_with_timeout) {
+ return seastar::async([] {
+ shared_promise<with_clock<manual_clock>, int> pr;
+ auto f1 = pr.get_shared_future(manual_clock::now() + 1s);
+ auto f2 = pr.get_shared_future(manual_clock::now() + 2s);
+ auto f3 = pr.get_shared_future();
+
+ BOOST_REQUIRE(!f1.available());
+ BOOST_REQUIRE(!f2.available());
+ BOOST_REQUIRE(!f3.available());
+
+ manual_clock::advance(1s);
+ later().get();
+
+ check_timed_out(std::move(f1));
+ BOOST_REQUIRE(!f2.available());
+ BOOST_REQUIRE(!f3.available());
+
+ manual_clock::advance(1s);
+ later().get();
+
+ check_timed_out(std::move(f2));
+ BOOST_REQUIRE(!f3.available());
+
+ pr.set_value(42);
+
+ BOOST_REQUIRE_EQUAL(42, f3.get0());
+ });
+}
+
+SEASTAR_TEST_CASE(test_when_all_succeed_tuples) {
+ return seastar::when_all_succeed(
+ make_ready_future<>(),
+ make_ready_future<sstring>("hello world"),
+ make_ready_future<int>(42),
+ make_ready_future<>(),
+ make_ready_future<int, sstring>(84, "hi"),
+ make_ready_future<bool>(true)
+ ).then([] (sstring msg, int v, std::tuple<int, sstring> t, bool b) {
+ BOOST_REQUIRE_EQUAL(msg, "hello world");
+ BOOST_REQUIRE_EQUAL(v, 42);
+ BOOST_REQUIRE_EQUAL(std::get<0>(t), 84);
+ BOOST_REQUIRE_EQUAL(std::get<1>(t), "hi");
+ BOOST_REQUIRE_EQUAL(b, true);
+
+ return seastar::when_all_succeed(
+ make_exception_future<>(42),
+ make_ready_future<sstring>("hello world"),
+ make_exception_future<int>(43),
+ make_ready_future<>()
+ ).then([] (sstring, int) {
+ BOOST_FAIL("shouldn't reach");
+ return false;
+ }).handle_exception([] (auto excp) {
+ try {
+ std::rethrow_exception(excp);
+ } catch (int v) {
+ BOOST_REQUIRE(v == 42 || v == 43);
+ return true;
+ } catch (...) { }
+ return false;
+ }).then([] (auto ret) {
+ BOOST_REQUIRE(ret);
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_when_all_succeed_vector) {
+ std::vector<future<>> vecs;
+ vecs.emplace_back(make_ready_future<>());
+ vecs.emplace_back(make_ready_future<>());
+ vecs.emplace_back(make_ready_future<>());
+ vecs.emplace_back(make_ready_future<>());
+ return seastar::when_all_succeed(vecs.begin(), vecs.end()).then([] {
+ std::vector<future<>> vecs;
+ vecs.emplace_back(make_ready_future<>());
+ vecs.emplace_back(make_ready_future<>());
+ vecs.emplace_back(make_exception_future<>(42));
+ vecs.emplace_back(make_exception_future<>(43));
+ return seastar::when_all_succeed(vecs.begin(), vecs.end());
+ }).then([] {
+ BOOST_FAIL("shouldn't reach");
+ return false;
+ }).handle_exception([] (auto excp) {
+ try {
+ std::rethrow_exception(excp);
+ } catch (int v) {
+ BOOST_REQUIRE(v == 42 || v == 43);
+ return true;
+ } catch (...) { }
+ return false;
+ }).then([] (auto ret) {
+ BOOST_REQUIRE(ret);
+
+ std::vector<future<int>> vecs;
+ vecs.emplace_back(make_ready_future<int>(1));
+ vecs.emplace_back(make_ready_future<int>(2));
+ vecs.emplace_back(make_ready_future<int>(3));
+ return seastar::when_all_succeed(vecs.begin(), vecs.end());
+ }).then([] (std::vector<int> vals) {
+ BOOST_REQUIRE_EQUAL(vals.size(), 3u);
+ BOOST_REQUIRE_EQUAL(vals[0], 1);
+ BOOST_REQUIRE_EQUAL(vals[1], 2);
+ BOOST_REQUIRE_EQUAL(vals[2], 3);
+
+ std::vector<future<int>> vecs;
+ vecs.emplace_back(make_ready_future<int>(1));
+ vecs.emplace_back(make_ready_future<int>(2));
+ vecs.emplace_back(make_exception_future<int>(42));
+ vecs.emplace_back(make_exception_future<int>(43));
+ return seastar::when_all_succeed(vecs.begin(), vecs.end());
+ }).then([] (std::vector<int>) {
+ BOOST_FAIL("shouldn't reach");
+ return false;
+ }).handle_exception([] (auto excp) {
+ try {
+ std::rethrow_exception(excp);
+ } catch (int v) {
+ BOOST_REQUIRE(v == 42 || v == 43);
+ return true;
+ } catch (...) { }
+ return false;
+ }).then([] (auto ret) {
+ BOOST_REQUIRE(ret);
+ });
+}
+
+SEASTAR_TEST_CASE(test_futurize_mutable) {
+ int count = 0;
+ return seastar::repeat([count]() mutable {
+ ++count;
+ if (count == 3) {
+ return seastar::stop_iteration::yes;
+ }
+ return seastar::stop_iteration::no;
+ });
+}
diff --git a/src/seastar/tests/unit/httpd_test.cc b/src/seastar/tests/unit/httpd_test.cc
new file mode 100644
index 00000000..17a26c80
--- /dev/null
+++ b/src/seastar/tests/unit/httpd_test.cc
@@ -0,0 +1,641 @@
+/*
+ * Copyright 2015 Cloudius Systems
+ */
+
+#include <seastar/http/httpd.hh>
+#include <seastar/http/handlers.hh>
+#include <seastar/http/matcher.hh>
+#include <seastar/http/matchrules.hh>
+#include <seastar/json/formatter.hh>
+#include <seastar/http/routes.hh>
+#include <seastar/http/exception.hh>
+#include <seastar/http/transformers.hh>
+#include <seastar/core/future-util.hh>
+#include <seastar/testing/test_case.hh>
+#include "loopback_socket.hh"
+#include <boost/algorithm/string.hpp>
+#include <seastar/core/thread.hh>
+#include <seastar/util/noncopyable_function.hh>
+#include <seastar/http/json_path.hh>
+#include <sstream>
+
+using namespace seastar;
+using namespace httpd;
+
+class handl : public httpd::handler_base {
+public:
+ virtual future<std::unique_ptr<reply> > handle(const sstring& path,
+ std::unique_ptr<request> req, std::unique_ptr<reply> rep) {
+ rep->done("html");
+ return make_ready_future<std::unique_ptr<reply>>(std::move(rep));
+ }
+};
+
+SEASTAR_TEST_CASE(test_reply)
+{
+ reply r;
+ r.set_content_type("txt");
+ BOOST_REQUIRE_EQUAL(r._headers["Content-Type"], sstring("text/plain"));
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(test_str_matcher)
+{
+
+ str_matcher m("/hello");
+ parameters param;
+ BOOST_REQUIRE_EQUAL(m.match("/abc/hello", 4, param), 10u);
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(test_param_matcher)
+{
+
+ param_matcher m("param");
+ parameters param;
+ BOOST_REQUIRE_EQUAL(m.match("/abc/hello", 4, param), 10u);
+ BOOST_REQUIRE_EQUAL(param.path("param"), "/hello");
+ BOOST_REQUIRE_EQUAL(param["param"], "hello");
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(test_match_rule)
+{
+
+ parameters param;
+ handl* h = new handl();
+ match_rule mr(h);
+ mr.add_str("/hello").add_param("param");
+ httpd::handler_base* res = mr.get("/hello/val1", param);
+ BOOST_REQUIRE_EQUAL(res, h);
+ BOOST_REQUIRE_EQUAL(param["param"], "val1");
+ res = mr.get("/hell/val1", param);
+ httpd::handler_base* nl = nullptr;
+ BOOST_REQUIRE_EQUAL(res, nl);
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(test_formatter)
+{
+ BOOST_REQUIRE_EQUAL(json::formatter::to_json(true), "true");
+ BOOST_REQUIRE_EQUAL(json::formatter::to_json(false), "false");
+ BOOST_REQUIRE_EQUAL(json::formatter::to_json(1), "1");
+ const char* txt = "efg";
+ BOOST_REQUIRE_EQUAL(json::formatter::to_json(txt), "\"efg\"");
+ sstring str = "abc";
+ BOOST_REQUIRE_EQUAL(json::formatter::to_json(str), "\"abc\"");
+ float f = 1;
+ BOOST_REQUIRE_EQUAL(json::formatter::to_json(f), "1");
+ f = 1.0/0.0;
+ BOOST_CHECK_THROW(json::formatter::to_json(f), std::out_of_range);
+ f = -1.0/0.0;
+ BOOST_CHECK_THROW(json::formatter::to_json(f), std::out_of_range);
+ f = 0.0/0.0;
+ BOOST_CHECK_THROW(json::formatter::to_json(f), std::invalid_argument);
+ double d = -1;
+ BOOST_REQUIRE_EQUAL(json::formatter::to_json(d), "-1");
+ d = 1.0/0.0;
+ BOOST_CHECK_THROW(json::formatter::to_json(d), std::out_of_range);
+ d = -1.0/0.0;
+ BOOST_CHECK_THROW(json::formatter::to_json(d), std::out_of_range);
+ d = 0.0/0.0;
+ BOOST_CHECK_THROW(json::formatter::to_json(d), std::invalid_argument);
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(test_decode_url) {
+ request req;
+ req._url = "/a?q=%23%24%23";
+ sstring url = http_server::connection::set_query_param(req);
+ BOOST_REQUIRE_EQUAL(url, "/a");
+ BOOST_REQUIRE_EQUAL(req.get_query_param("q"), "#$#");
+ req._url = "/a?a=%23%24%23&b=%22%26%22";
+ http_server::connection::set_query_param(req);
+ BOOST_REQUIRE_EQUAL(req.get_query_param("a"), "#$#");
+ BOOST_REQUIRE_EQUAL(req.get_query_param("b"), "\"&\"");
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(test_routes) {
+ handl* h1 = new handl();
+ handl* h2 = new handl();
+ routes route;
+ route.add(operation_type::GET, url("/api").remainder("path"), h1);
+ route.add(operation_type::GET, url("/"), h2);
+ std::unique_ptr<request> req = std::make_unique<request>();
+ std::unique_ptr<reply> rep = std::make_unique<reply>();
+
+ auto f1 =
+ route.handle("/api", std::move(req), std::move(rep)).then(
+ [] (std::unique_ptr<reply> rep) {
+ BOOST_REQUIRE_EQUAL((int )rep->_status, (int )reply::status_type::ok);
+ });
+ req.reset(new request);
+ rep.reset(new reply);
+
+ auto f2 =
+ route.handle("/", std::move(req), std::move(rep)).then(
+ [] (std::unique_ptr<reply> rep) {
+ BOOST_REQUIRE_EQUAL((int )rep->_status, (int )reply::status_type::ok);
+ });
+ req.reset(new request);
+ rep.reset(new reply);
+ auto f3 =
+ route.handle("/api/abc", std::move(req), std::move(rep)).then(
+ [] (std::unique_ptr<reply> rep) {
+ });
+ req.reset(new request);
+ rep.reset(new reply);
+ auto f4 =
+ route.handle("/ap", std::move(req), std::move(rep)).then(
+ [] (std::unique_ptr<reply> rep) {
+ BOOST_REQUIRE_EQUAL((int )rep->_status,
+ (int )reply::status_type::not_found);
+ });
+ return when_all(std::move(f1), std::move(f2), std::move(f3), std::move(f4))
+ .then([] (std::tuple<future<>, future<>, future<>, future<>> fs) {
+ std::get<0>(fs).get();
+ std::get<1>(fs).get();
+ std::get<2>(fs).get();
+ std::get<3>(fs).get();
+ });
+}
+
+SEASTAR_TEST_CASE(test_json_path) {
+ shared_ptr<bool> res1 = make_shared<bool>(false);
+ shared_ptr<bool> res2 = make_shared<bool>(false);
+ shared_ptr<bool> res3 = make_shared<bool>(false);
+ shared_ptr<routes> route = make_shared<routes>();
+ path_description path1("/my/path",GET,"path1",
+ {{"param1", path_description::url_component_type::PARAM}
+ ,{"/text", path_description::url_component_type::FIXED_STRING}},{});
+ path_description path2("/my/path",GET,"path2",
+ {{"param1", path_description::url_component_type::PARAM}
+ ,{"param2", path_description::url_component_type::PARAM}},{});
+ path_description path3("/my/path",GET,"path3",
+ {{"param1", path_description::url_component_type::PARAM}
+ ,{"param2", path_description::url_component_type::PARAM_UNTIL_END_OF_PATH}},{});
+
+ path1.set(*route, [res1] (const_req req) {
+ (*res1) = true;
+ BOOST_REQUIRE_EQUAL(req.param["param1"], "value1");
+ return "";
+ });
+
+ path2.set(*route, [res2] (const_req req) {
+ (*res2) = true;
+ BOOST_REQUIRE_EQUAL(req.param["param1"], "value2");
+ BOOST_REQUIRE_EQUAL(req.param["param2"], "text1");
+ return "";
+ });
+
+ path3.set(*route, [res3] (const_req req) {
+ (*res3) = true;
+ BOOST_REQUIRE_EQUAL(req.param["param1"], "value3");
+ BOOST_REQUIRE_EQUAL(req.param["param2"], "text2/text3");
+ return "";
+ });
+
+ auto f1 = route->handle("/my/path/value1/text", std::make_unique<request>(), std::make_unique<reply>()).then([res1, route] (auto f) {
+ BOOST_REQUIRE_EQUAL(*res1, true);
+ });
+
+ auto f2 = route->handle("/my/path/value2/text1", std::make_unique<request>(), std::make_unique<reply>()).then([res2, route] (auto f) {
+ BOOST_REQUIRE_EQUAL(*res2, true);
+ });
+
+ auto f3 = route->handle("/my/path/value3/text2/text3", std::make_unique<request>(), std::make_unique<reply>()).then([res3, route] (auto f) {
+ BOOST_REQUIRE_EQUAL(*res3, true);
+ });
+
+ return when_all(std::move(f1), std::move(f2), std::move(f3))
+ .then([] (std::tuple<future<>, future<>, future<>> fs) {
+ std::get<0>(fs).get();
+ std::get<1>(fs).get();
+ std::get<2>(fs).get();
+ });
+}
+
+/*!
+ * \brief a helper data sink that stores everything it gets in a stringstream
+ */
+class memory_data_sink_impl : public data_sink_impl {
+ std::stringstream& _ss;
+public:
+ memory_data_sink_impl(std::stringstream& ss) : _ss(ss) {
+ }
+ virtual future<> put(net::packet data) override {
+ abort();
+ return make_ready_future<>();
+ }
+ virtual future<> put(temporary_buffer<char> buf) override {
+ _ss.write(buf.get(), buf.size());
+ return make_ready_future<>();
+ }
+ virtual future<> flush() override {
+ return make_ready_future<>();
+ }
+
+ virtual future<> close() override {
+ return make_ready_future<>();
+ }
+};
+
+class memory_data_sink : public data_sink {
+public:
+ memory_data_sink(std::stringstream& ss)
+ : data_sink(std::make_unique<memory_data_sink_impl>(ss)) {}
+};
+
+future<> test_transformer_stream(std::stringstream& ss, content_replace& cr, std::vector<sstring>&& buffer_parts) {
+ std::unique_ptr<seastar::httpd::request> req = std::make_unique<seastar::httpd::request>();
+ ss.str("");
+ req->_headers["Host"] = "localhost";
+ return do_with(output_stream<char>(cr.transform(std::move(req), "json", output_stream<char>(memory_data_sink(ss), 32000, true))),
+ std::vector<sstring>(std::move(buffer_parts)), [&ss, &cr] (output_stream<char>& os, std::vector<sstring>& parts) {
+ return do_for_each(parts, [&os](auto& p) {
+ return os.write(p);
+ }).then([&os, &ss] {
+ return os.close();
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_transformer) {
+ return do_with(std::stringstream(), content_replace("json"), [] (std::stringstream& ss, content_replace& cr) {
+ return do_with(output_stream<char>(cr.transform(std::make_unique<seastar::httpd::request>(), "html", output_stream<char>(memory_data_sink(ss), 32000, true))),
+ [&ss] (output_stream<char>& os) {
+ return os.write(sstring("hello-{{Protocol}}-xyz-{{Host}}")).then([&os] {
+ return os.close();
+ });
+ }).then([&ss, &cr] () {
+ BOOST_REQUIRE_EQUAL(ss.str(), "hello-{{Protocol}}-xyz-{{Host}}");
+ return test_transformer_stream(ss, cr, {"hell", "o-{", "{Pro", "tocol}}-xyz-{{Ho", "st}}{{Pr"}).then([&ss, &cr] {
+ BOOST_REQUIRE_EQUAL(ss.str(), "hello-http-xyz-localhost{{Pr");
+ return test_transformer_stream(ss, cr, {"hell", "o-{{", "Pro", "tocol}}{{Protocol}}-{{Protoxyz-{{Ho", "st}}{{Pr"}).then([&ss, &cr] {
+ BOOST_REQUIRE_EQUAL(ss.str(), "hello-httphttp-{{Protoxyz-localhost{{Pr");
+ return test_transformer_stream(ss, cr, {"hell", "o-{{Pro", "t{{Protocol}}ocol}}", "{{Host}}"}).then([&ss, &cr] {
+ BOOST_REQUIRE_EQUAL(ss.str(), "hello-{{Prothttpocol}}localhost");
+ });
+ });
+ });
+ });
+ });
+}
+
+struct http_consumer {
+ std::map<sstring, std::string> _headers;
+ std::string _body;
+ uint32_t _remain = 0;
+ std::string _current;
+ char last = '\0';
+ uint32_t _size = 0;
+ bool _concat = true;
+
+ enum class status_type {
+ READING_HEADERS,
+ CHUNK_SIZE,
+ CHUNK_BODY,
+ CHUNK_END,
+ READING_BODY_BY_SIZE,
+ DONE
+ };
+ status_type status = status_type::READING_HEADERS;
+
+ bool read(const temporary_buffer<char>& b) {
+ for (auto c : b) {
+ if (last =='\r' && c == '\n') {
+ if (_current == "") {
+ if (status == status_type::READING_HEADERS || (status == status_type::CHUNK_BODY && _remain == 0)) {
+ if (status == status_type::READING_HEADERS && _headers.find("Content-Length") != _headers.end()) {
+ _remain = stoi(_headers["Content-Length"], nullptr, 16);
+ if (_remain == 0) {
+ status = status_type::DONE;
+ break;
+ }
+ status = status_type::READING_BODY_BY_SIZE;
+ } else {
+ status = status_type::CHUNK_SIZE;
+ }
+ } else if (status == status_type::CHUNK_END) {
+ status = status_type::DONE;
+ break;
+ }
+ } else {
+ switch (status) {
+ case status_type::READING_HEADERS: add_header(_current);
+ break;
+ case status_type::CHUNK_SIZE: set_chunk(_current);
+ break;
+ default:
+ break;
+ }
+ _current = "";
+ }
+ last = '\0';
+ } else {
+ if (last != '\0') {
+ if (status == status_type::CHUNK_BODY || status == status_type::READING_BODY_BY_SIZE) {
+ if (_concat) {
+ _body = _body + last;
+ }
+ _size++;
+ _remain--;
+ if (_remain <= 1 && status == status_type::READING_BODY_BY_SIZE) {
+ if (_concat) {
+ _body = _body + c;
+ }
+ _size++;
+ status = status_type::DONE;
+ break;
+ }
+ } else {
+ _current = _current + last;
+ }
+
+ }
+ last = c;
+ }
+ }
+ return status == status_type::DONE;
+ }
+
+ void set_chunk(const std::string& s) {
+ _remain = stoi(s, nullptr, 16);
+ if (_remain == 0) {
+ status = status_type::CHUNK_END;
+ } else {
+ status = status_type::CHUNK_BODY;
+ }
+ }
+
+ void add_header(const std::string& s) {
+ std::vector<std::string> strs;
+ boost::split(strs, s, boost::is_any_of(":"));
+ if (strs.size() > 1) {
+ _headers[strs[0]] = strs[1];
+ }
+ }
+};
+
+class test_client_server {
+public:
+ static future<> write_request(output_stream<char>& output) {
+ return output.write(sstring("GET /test HTTP/1.1\r\nHost: myhost.org\r\n\r\n")).then([&output]{
+ return output.flush();
+ });
+ }
+
+ static future<> run_test(std::function<future<>(output_stream<char> &&)>&& write_func, std::function<bool(size_t, http_consumer&)> reader) {
+ return do_with(loopback_connection_factory(), foreign_ptr<shared_ptr<http_server>>(make_shared<http_server>("test")),
+ [reader, &write_func] (loopback_connection_factory& lcf, auto& server) {
+ return do_with(loopback_socket_impl(lcf), [&server, &lcf, reader, &write_func](loopback_socket_impl& lsi) {
+ httpd::http_server_tester::listeners(*server).emplace_back(lcf.get_server_socket());
+
+ auto client = seastar::async([&lsi, reader] {
+ connected_socket c_socket = std::get<connected_socket>(lsi.connect(socket_address(ipv4_addr()), socket_address(ipv4_addr())).get());
+ input_stream<char> input(std::move(c_socket.input()));
+ output_stream<char> output(std::move(c_socket.output()));
+ bool more = true;
+ size_t count = 0;
+ while (more) {
+ http_consumer htp;
+ htp._concat = false;
+
+ write_request(output).get();
+ repeat([&c_socket, &input, &htp] {
+ return input.read().then([&c_socket, &input, &htp](const temporary_buffer<char>& b) mutable {
+ return (b.size() == 0 || htp.read(b)) ? make_ready_future<stop_iteration>(stop_iteration::yes) :
+ make_ready_future<stop_iteration>(stop_iteration::no);
+ });
+ }).get();
+ std::cout << htp._body << std::endl;
+ more = reader(count, htp);
+ count++;
+ }
+ if (input.eof()) {
+ input.close().get();
+ }
+ });
+
+ auto writer = seastar::async([&server, &write_func] {
+ class test_handler : public handler_base {
+ size_t count = 0;
+ http_server& _server;
+ std::function<future<>(output_stream<char> &&)> _write_func;
+ promise<> _all_message_sent;
+ public:
+ test_handler(http_server& server, std::function<future<>(output_stream<char> &&)>&& write_func) : _server(server), _write_func(write_func) {
+ }
+ future<std::unique_ptr<reply>> handle(const sstring& path,
+ std::unique_ptr<request> req, std::unique_ptr<reply> rep) override {
+ rep->write_body("json", std::move(_write_func));
+ count++;
+ _all_message_sent.set_value();
+ return make_ready_future<std::unique_ptr<reply>>(std::move(rep));
+ }
+ future<> wait_for_message() {
+ return _all_message_sent.get_future();
+ }
+ };
+ auto handler = new test_handler(*server, std::move(write_func));
+ server->_routes.put(GET, "/test", handler);
+ when_all(server->do_accepts(0), handler->wait_for_message()).get();
+ });
+ return when_all(std::move(client), std::move(writer));
+ }).discard_result().then_wrapped([&server] (auto f) {
+ f.ignore_ready_future();
+ return server->stop();
+ });
+ });
+ }
+ static future<> run(std::vector<std::tuple<bool, size_t>> tests) {
+ return do_with(loopback_connection_factory(), foreign_ptr<shared_ptr<http_server>>(make_shared<http_server>("test")),
+ [tests] (loopback_connection_factory& lcf, auto& server) {
+ return do_with(loopback_socket_impl(lcf), [&server, &lcf, tests](loopback_socket_impl& lsi) {
+ httpd::http_server_tester::listeners(*server).emplace_back(lcf.get_server_socket());
+
+ auto client = seastar::async([&lsi, tests] {
+ connected_socket c_socket = std::get<connected_socket>(lsi.connect(socket_address(ipv4_addr()), socket_address(ipv4_addr())).get());
+ input_stream<char> input(std::move(c_socket.input()));
+ output_stream<char> output(std::move(c_socket.output()));
+ bool more = true;
+ size_t count = 0;
+ while (more) {
+ http_consumer htp;
+ write_request(output).get();
+ repeat([&c_socket, &input, &htp] {
+ return input.read().then([&c_socket, &input, &htp](const temporary_buffer<char>& b) mutable {
+ return (b.size() == 0 || htp.read(b)) ? make_ready_future<stop_iteration>(stop_iteration::yes) :
+ make_ready_future<stop_iteration>(stop_iteration::no);
+ });
+ }).get();
+ if (std::get<bool>(tests[count])) {
+ BOOST_REQUIRE_EQUAL(htp._body.length(), std::get<size_t>(tests[count]));
+ } else {
+ BOOST_REQUIRE_EQUAL(input.eof(), true);
+ more = false;
+ }
+ count++;
+ if (count == tests.size()) {
+ more = false;
+ }
+ }
+ if (input.eof()) {
+ input.close().get();
+ }
+ });
+
+ auto writer = seastar::async([&server, tests] {
+ class test_handler : public handler_base {
+ size_t count = 0;
+ http_server& _server;
+ std::vector<std::tuple<bool, size_t>> _tests;
+ promise<> _all_message_sent;
+ public:
+ test_handler(http_server& server, const std::vector<std::tuple<bool, size_t>>& tests) : _server(server), _tests(tests) {
+ }
+ future<std::unique_ptr<reply>> handle(const sstring& path,
+ std::unique_ptr<request> req, std::unique_ptr<reply> rep) override {
+ rep->write_body("txt", make_writer(std::get<size_t>(_tests[count]), std::get<bool>(_tests[count])));
+ count++;
+ if (count == _tests.size()) {
+ _all_message_sent.set_value();
+ }
+ return make_ready_future<std::unique_ptr<reply>>(std::move(rep));
+ }
+ future<> wait_for_message() {
+ return _all_message_sent.get_future();
+ }
+ };
+ auto handler = new test_handler(*server, tests);
+ server->_routes.put(GET, "/test", handler);
+ when_all(server->do_accepts(0), handler->wait_for_message()).get();
+ });
+ return when_all(std::move(client), std::move(writer));
+ }).discard_result().then_wrapped([&server] (auto f) {
+ f.ignore_ready_future();
+ return server->stop();
+ });
+ });
+ }
+
+ static noncopyable_function<future<>(output_stream<char>&& o_stream)> make_writer(size_t len, bool success) {
+ return [len, success] (output_stream<char>&& o_stream) mutable {
+ return do_with(output_stream<char>(std::move(o_stream)), uint32_t(len/10), [success](output_stream<char>& str, uint32_t& remain) {
+ if (remain == 0) {
+ if (success) {
+ return str.close();
+ } else {
+ throw std::runtime_error("Throwing exception before writing");
+ }
+ }
+ return repeat([&str, &remain, success] () mutable {
+ return str.write("1234567890").then([&remain]() mutable {
+ remain--;
+ return (remain == 0)? make_ready_future<stop_iteration>(stop_iteration::yes) : make_ready_future<stop_iteration>(stop_iteration::no);
+ });
+ }).then([&str, success] {
+ if (!success) {
+ return str.flush();
+ }
+ return make_ready_future<>();
+ }).then([&str, success] {
+ if (success) {
+ return str.close();
+ } else {
+ throw std::runtime_error("Throwing exception after writing");
+ }
+ });
+ });
+ };
+ }
+};
+
+SEASTAR_TEST_CASE(test_message_with_error_non_empty_body) {
+ std::vector<std::tuple<bool, size_t>> tests = {
+ std::make_tuple(true, 100),
+ std::make_tuple(false, 10000)};
+ return test_client_server::run(tests);
+}
+
+SEASTAR_TEST_CASE(test_simple_chunked) {
+ std::vector<std::tuple<bool, size_t>> tests = {
+ std::make_tuple(true, 100000),
+ std::make_tuple(true, 100)};
+ return test_client_server::run(tests);
+}
+
+SEASTAR_TEST_CASE(test_http_client_server_full) {
+ std::vector<std::tuple<bool, size_t>> tests = {
+ std::make_tuple(true, 100),
+ std::make_tuple(true, 10000),
+ std::make_tuple(true, 100),
+ std::make_tuple(true, 0),
+ std::make_tuple(true, 5000),
+ std::make_tuple(true, 10000),
+ std::make_tuple(true, 9000),
+ std::make_tuple(true, 10000)};
+ return test_client_server::run(tests);
+}
+
+/*
+ * return string in the given size
+ * The string size takes the quotes into consideration.
+ */
+std::string get_value(int size) {
+ std::stringstream res;
+ for (auto i = 0; i < size - 2; i++) {
+ res << "a";
+ }
+ return res.str();
+}
+
+/*
+ * A helper object that map to a big json string
+ * in the format of:
+ * {"valu": "aaa....aa", "valu": "aaa....aa", "valu": "aaa....aa"...}
+ *
+ * The object can have an arbitrary size in multiplication of 10000 bytes
+ * */
+struct extra_big_object : public json::json_base {
+ json::json_element<sstring>* value;
+ extra_big_object(size_t size) {
+ value = new json::json_element<sstring>;
+ // size = brackets + (name + ": " + get_value) * n + ", " * (n-1)
+ // size = 2 + (name + 6 + get_value) * n - 2
+ value->_name = "valu";
+ *value = get_value(9990);
+ for (size_t i = 0; i < size/10000; i++) {
+ _elements.emplace_back(value);
+ }
+ }
+
+ virtual ~extra_big_object() {
+ delete value;
+ }
+
+ extra_big_object(const extra_big_object& o) {
+ value = new json::json_element<sstring>;
+ value->_name = o.value->_name;
+ *value = (*o.value)();
+ for (size_t i = 0; i < o._elements.size(); i++) {
+ _elements.emplace_back(value);
+ }
+ }
+
+ extra_big_object(extra_big_object&&) = default;
+};
+
+SEASTAR_TEST_CASE(json_stream) {
+ std::vector<extra_big_object> vec;
+ size_t num_objects = 1000;
+ size_t total_size = num_objects * 1000001 + 1;
+ for (size_t i = 0; i < num_objects; i++) {
+ vec.emplace_back(extra_big_object(1000000));
+ }
+ return test_client_server::run_test(json::stream_object(vec), [total_size](size_t s, http_consumer& h) {
+ BOOST_REQUIRE_EQUAL(h._size, total_size);
+ return false;
+ });
+}
diff --git a/src/seastar/tests/unit/json_formatter_test.cc b/src/seastar/tests/unit/json_formatter_test.cc
new file mode 100644
index 00000000..1c6e51f9
--- /dev/null
+++ b/src/seastar/tests/unit/json_formatter_test.cc
@@ -0,0 +1,54 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/*
+ * Copyright (C) 2016 ScyllaDB.
+ */
+#include <vector>
+
+#include <seastar/core/do_with.hh>
+#include <seastar/testing/test_case.hh>
+#include <seastar/core/sstring.hh>
+#include <seastar/core/reactor.hh>
+#include <seastar/core/do_with.hh>
+#include <seastar/core/future-util.hh>
+#include <seastar/json/formatter.hh>
+
+using namespace seastar;
+using namespace json;
+
+SEASTAR_TEST_CASE(test_simple_values) {
+ BOOST_CHECK_EQUAL("3", formatter::to_json(3));
+ BOOST_CHECK_EQUAL("3", formatter::to_json(3.0));
+ BOOST_CHECK_EQUAL("3.5", formatter::to_json(3.5));
+ BOOST_CHECK_EQUAL("true", formatter::to_json(true));
+ BOOST_CHECK_EQUAL("false", formatter::to_json(false));
+ BOOST_CHECK_EQUAL("\"apa\"", formatter::to_json("apa"));
+
+ return make_ready_future();
+}
+
+SEASTAR_TEST_CASE(test_collections) {
+ BOOST_CHECK_EQUAL("{1:2,3:4}", formatter::to_json(std::map<int,int>({{1,2},{3,4}})));
+ BOOST_CHECK_EQUAL("[1,2,3,4]", formatter::to_json(std::vector<int>({1,2,3,4})));
+ BOOST_CHECK_EQUAL("[{1:2},{3:4}]", formatter::to_json(std::vector<std::pair<int,int>>({{1,2},{3,4}})));
+ BOOST_CHECK_EQUAL("[{1:2},{3:4}]", formatter::to_json(std::vector<std::map<int,int>>({{{1,2}},{{3,4}}})));
+ BOOST_CHECK_EQUAL("[[1,2],[3,4]]", formatter::to_json(std::vector<std::vector<int>>({{1,2},{3,4}})));
+
+ return make_ready_future();
+}
diff --git a/src/seastar/tests/unit/loopback_socket.hh b/src/seastar/tests/unit/loopback_socket.hh
new file mode 100644
index 00000000..888b0692
--- /dev/null
+++ b/src/seastar/tests/unit/loopback_socket.hh
@@ -0,0 +1,258 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2016 ScyllaDB
+ */
+
+#pragma once
+
+#include <system_error>
+#include <seastar/core/iostream.hh>
+#include <seastar/core/circular_buffer.hh>
+#include <seastar/core/shared_ptr.hh>
+#include <seastar/core/queue.hh>
+#include <seastar/core/future-util.hh>
+#include <seastar/core/do_with.hh>
+#include <seastar/net/stack.hh>
+#include <seastar/core/reactor.hh>
+#include <seastar/core/sharded.hh>
+
+namespace seastar {
+
+struct loopback_error_injector {
+ virtual ~loopback_error_injector() {};
+ virtual bool server_rcv_error() { return false; }
+ virtual bool server_snd_error() { return false; }
+ virtual bool client_rcv_error() { return false; }
+ virtual bool client_snd_error() { return false; }
+};
+
+class loopback_buffer {
+public:
+ enum class type : uint8_t {
+ CLIENT_TX,
+ SERVER_TX
+ };
+private:
+ bool _aborted = false;
+ queue<temporary_buffer<char>> _q{1};
+ loopback_error_injector* _error_injector;
+ type _type;
+public:
+ loopback_buffer(loopback_error_injector* error_injection, type t) : _error_injector(error_injection), _type(t) {}
+ future<> push(temporary_buffer<char>&& b) {
+ if (_aborted) {
+ return make_exception_future<>(std::system_error(EPIPE, std::system_category()));
+ }
+ bool error = false;
+ if (_error_injector) {
+ error = _type == type::CLIENT_TX ? _error_injector->client_snd_error() : _error_injector->server_snd_error();
+ }
+ if (error) {
+ shutdown();
+ return make_exception_future<>(std::runtime_error("test injected error on send"));
+ }
+ return _q.push_eventually(std::move(b));
+ }
+ future<temporary_buffer<char>> pop() {
+ if (_aborted) {
+ return make_exception_future<temporary_buffer<char>>(std::system_error(EPIPE, std::system_category()));
+ }
+ bool error = false;
+ if (_error_injector) {
+ error = _type == type::CLIENT_TX ? _error_injector->client_rcv_error() : _error_injector->server_rcv_error();
+ }
+ if (error) {
+ shutdown();
+ return make_exception_future<temporary_buffer<char>>(std::runtime_error("test injected error on receive"));
+ }
+ return _q.pop_eventually();
+ }
+ void shutdown() {
+ _aborted = true;
+ _q.abort(std::make_exception_ptr(std::system_error(EPIPE, std::system_category())));
+ }
+};
+
+class loopback_data_sink_impl : public data_sink_impl {
+ foreign_ptr<lw_shared_ptr<loopback_buffer>>& _buffer;
+public:
+ explicit loopback_data_sink_impl(foreign_ptr<lw_shared_ptr<loopback_buffer>>& buffer)
+ : _buffer(buffer) {
+ }
+ future<> put(net::packet data) override {
+ return do_with(data.release(), [this] (std::vector<temporary_buffer<char>>& bufs) {
+ return do_for_each(bufs, [this] (temporary_buffer<char>& buf) {
+ return smp::submit_to(_buffer.get_owner_shard(), [this, b = buf.get(), s = buf.size()] {
+ return _buffer->push(temporary_buffer<char>(b, s));
+ });
+ });
+ });
+ }
+ future<> close() override {
+ return smp::submit_to(_buffer.get_owner_shard(), [this] {
+ return _buffer->push({});
+ });
+ }
+};
+
+class loopback_data_source_impl : public data_source_impl {
+ bool _eof = false;
+ lw_shared_ptr<loopback_buffer> _buffer;
+public:
+ explicit loopback_data_source_impl(lw_shared_ptr<loopback_buffer> buffer)
+ : _buffer(std::move(buffer)) {
+ }
+ future<temporary_buffer<char>> get() override {
+ return _buffer->pop().then_wrapped([this] (future<temporary_buffer<char>>&& b) {
+ _eof = b.failed();
+ if (!_eof) {
+ // future::get0() is destructive, so we have to play these games
+ // FIXME: make future::get0() non-destructive
+ auto&& tmp = b.get0();
+ _eof = tmp.empty();
+ b = make_ready_future<temporary_buffer<char>>(std::move(tmp));
+ }
+ return std::move(b);
+ });
+ }
+ future<> close() override {
+ if (!_eof) {
+ _buffer->shutdown();
+ }
+ return make_ready_future<>();
+ }
+};
+
+
+class loopback_connected_socket_impl : public net::connected_socket_impl {
+ foreign_ptr<lw_shared_ptr<loopback_buffer>> _tx;
+ lw_shared_ptr<loopback_buffer> _rx;
+public:
+ loopback_connected_socket_impl(foreign_ptr<lw_shared_ptr<loopback_buffer>> tx, lw_shared_ptr<loopback_buffer> rx)
+ : _tx(std::move(tx)), _rx(std::move(rx)) {
+ }
+ data_source source() override {
+ return data_source(std::make_unique<loopback_data_source_impl>(_rx));
+ }
+ data_sink sink() override {
+ return data_sink(std::make_unique<loopback_data_sink_impl>(_tx));
+ }
+ void shutdown_input() override {
+ _rx->shutdown();
+ }
+ void shutdown_output() override {
+ smp::submit_to(_tx.get_owner_shard(), [this] {
+ // FIXME: who holds to _tx?
+ _tx->shutdown();
+ });
+ }
+ void set_nodelay(bool nodelay) override {
+ }
+ bool get_nodelay() const override {
+ return true;
+ }
+ void set_keepalive(bool keepalive) override {}
+ bool get_keepalive() const override {
+ return false;
+ }
+ void set_keepalive_parameters(const net::keepalive_params&) override {}
+ net::keepalive_params get_keepalive_parameters() const override {
+ return net::tcp_keepalive_params {std::chrono::seconds(0), std::chrono::seconds(0), 0};
+ }
+};
+
+class loopback_server_socket_impl : public net::server_socket_impl {
+ lw_shared_ptr<queue<connected_socket>> _pending;
+public:
+ explicit loopback_server_socket_impl(lw_shared_ptr<queue<connected_socket>> q)
+ : _pending(std::move(q)) {
+ }
+ future<connected_socket, socket_address> accept() override {
+ return _pending->pop_eventually().then([] (connected_socket&& cs) {
+ return make_ready_future<connected_socket, socket_address>(std::move(cs), socket_address());
+ });
+ }
+ void abort_accept() override {
+ _pending->abort(std::make_exception_ptr(std::system_error(ECONNABORTED, std::system_category())));
+ }
+};
+
+
+class loopback_connection_factory {
+ unsigned _shard = 0;
+ std::vector<lw_shared_ptr<queue<connected_socket>>> _pending;
+public:
+ loopback_connection_factory() {
+ _pending.resize(smp::count);
+ }
+ server_socket get_server_socket() {
+ if (!_pending[engine().cpu_id()]) {
+ _pending[engine().cpu_id()] = make_lw_shared<queue<connected_socket>>(10);
+ }
+ return server_socket(std::make_unique<loopback_server_socket_impl>(_pending[engine().cpu_id()]));
+ }
+ future<> make_new_server_connection(foreign_ptr<lw_shared_ptr<loopback_buffer>> b1, lw_shared_ptr<loopback_buffer> b2) {
+ if (!_pending[engine().cpu_id()]) {
+ _pending[engine().cpu_id()] = make_lw_shared<queue<connected_socket>>(10);
+ }
+ return _pending[engine().cpu_id()]->push_eventually(connected_socket(std::make_unique<loopback_connected_socket_impl>(std::move(b1), b2)));
+ }
+ connected_socket make_new_client_connection(lw_shared_ptr<loopback_buffer> b1, foreign_ptr<lw_shared_ptr<loopback_buffer>> b2) {
+ return connected_socket(std::make_unique<loopback_connected_socket_impl>(std::move(b2), b1));
+ }
+ unsigned next_shard() {
+ return _shard++ % smp::count;
+ }
+ void destroy_shard(unsigned shard) {
+ _pending[shard] = nullptr;
+ }
+};
+
+class loopback_socket_impl : public net::socket_impl {
+ loopback_connection_factory& _factory;
+ loopback_error_injector* _error_injector;
+ lw_shared_ptr<loopback_buffer> _b1;
+ foreign_ptr<lw_shared_ptr<loopback_buffer>> _b2;
+public:
+ loopback_socket_impl(loopback_connection_factory& factory, loopback_error_injector* error_injector = nullptr)
+ : _factory(factory), _error_injector(error_injector)
+ { }
+ future<connected_socket> connect(socket_address sa, socket_address local, seastar::transport proto = seastar::transport::TCP) {
+ auto shard = _factory.next_shard();
+ _b1 = make_lw_shared<loopback_buffer>(_error_injector, loopback_buffer::type::SERVER_TX);
+ return smp::submit_to(shard, [this, b1 = make_foreign(_b1)] () mutable {
+ auto b2 = make_lw_shared<loopback_buffer>(_error_injector, loopback_buffer::type::CLIENT_TX);
+ _b2 = make_foreign(b2);
+ return _factory.make_new_server_connection(std::move(b1), b2).then([b2] {
+ return make_foreign(b2);
+ });
+ }).then([this, shard] (foreign_ptr<lw_shared_ptr<loopback_buffer>> b2) {
+ return _factory.make_new_client_connection(_b1, std::move(b2));
+ });
+ }
+
+ void shutdown() {
+ _b1->shutdown();
+ smp::submit_to(_b2.get_owner_shard(), [this, b2 = std::move(_b2)] {
+ b2->shutdown();
+ });
+ }
+};
+
+}
diff --git a/src/seastar/tests/unit/lowres_clock_test.cc b/src/seastar/tests/unit/lowres_clock_test.cc
new file mode 100644
index 00000000..c0f14e30
--- /dev/null
+++ b/src/seastar/tests/unit/lowres_clock_test.cc
@@ -0,0 +1,117 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2017 ScyllaDB
+ */
+
+#include <seastar/testing/test_case.hh>
+
+#include <seastar/core/do_with.hh>
+#include <seastar/core/lowres_clock.hh>
+#include <seastar/core/sleep.hh>
+
+#include <ctime>
+
+#include <algorithm>
+#include <array>
+#include <chrono>
+
+using namespace seastar;
+
+//
+// Sanity check the accuracy of the steady low-resolution clock.
+//
+SEASTAR_TEST_CASE(steady_clock_sanity) {
+ return do_with(lowres_clock::now(), [](auto &&t1) {
+ static constexpr auto sleep_duration = std::chrono::milliseconds(100);
+
+ return ::seastar::sleep(sleep_duration).then([&t1] {
+ auto const elapsed = lowres_clock::now() - t1;
+ auto const minimum_elapsed = 0.9 * sleep_duration;
+
+ BOOST_REQUIRE(elapsed >= minimum_elapsed);
+
+ return make_ready_future<>();
+ });
+ });
+}
+
+//
+// At the very least, we can verify that the low-resolution system clock is within a second of the
+// high-resolution system clock.
+//
+SEASTAR_TEST_CASE(system_clock_sanity) {
+ static const auto check_matching = [] {
+ auto const system_time = std::chrono::system_clock::now();
+ auto const lowres_time = lowres_system_clock::now();
+
+ auto const t1 = std::chrono::system_clock::to_time_t(system_time);
+ auto const t2 = lowres_system_clock::to_time_t(lowres_time);
+
+ std::tm *lt1 = std::localtime(&t1);
+ std::tm *lt2 = std::localtime(&t2);
+
+ return (lt1->tm_isdst == lt2->tm_isdst) &&
+ (lt1->tm_year == lt2->tm_year) &&
+ (lt1->tm_mon == lt2->tm_mon) &&
+ (lt1->tm_yday == lt2->tm_yday) &&
+ (lt1->tm_mday == lt2->tm_mday) &&
+ (lt1->tm_wday == lt2->tm_wday) &&
+ (lt1->tm_hour == lt2->tm_hour) &&
+ (lt1->tm_min == lt2->tm_min) &&
+ (lt1->tm_sec == lt2->tm_sec);
+ };
+
+ //
+ // Check two out of three samples in order to account for the possibility that the high-resolution clock backing
+ // the low-resoltuion clock was captured in the range of the 990th to 999th millisecond of the second. This would
+ // make the low-resolution clock and the high-resolution clock disagree on the current second.
+ //
+
+ return do_with(0ul, 0ul, [](std::size_t& index, std::size_t& success_count) {
+ return repeat([&index, &success_count] {
+ if (index >= 3) {
+ BOOST_REQUIRE_GE(success_count, 2u);
+ return make_ready_future<stop_iteration>(stop_iteration::yes);
+ }
+
+ return ::seastar::sleep(std::chrono::milliseconds(10)).then([&index, &success_count] {
+ if (check_matching()) {
+ ++success_count;
+ }
+
+ ++index;
+ return stop_iteration::no;
+ });
+ });
+ });
+}
+
+//
+// Verify that the low-resolution clock updates its reported time point over time.
+//
+SEASTAR_TEST_CASE(system_clock_dynamic) {
+ return do_with(lowres_system_clock::now(), [](auto &&t1) {
+ return seastar::sleep(std::chrono::milliseconds(100)).then([&t1] {
+ auto const t2 = lowres_system_clock::now();
+ BOOST_REQUIRE_NE(t1.time_since_epoch().count(), t2.time_since_epoch().count());
+
+ return make_ready_future<>();
+ });
+ });
+}
diff --git a/src/seastar/tests/unit/mkcert.gmk b/src/seastar/tests/unit/mkcert.gmk
new file mode 100644
index 00000000..829dc4be
--- /dev/null
+++ b/src/seastar/tests/unit/mkcert.gmk
@@ -0,0 +1,91 @@
+server = $(shell hostname)
+domain = $(shell dnsdomainname)
+name = $(server)
+
+country = SE
+state = Stockholm
+locality= $(state)
+org = $(domain)
+unit = $(domain)
+mail = mx
+common = $(server).$(domain)
+email = postmaster@$(domain)
+ckey = ca$(key).pem
+
+pubkey = $(name).pub
+prvkey = $(name).key
+width = 4096
+
+csr = $(name).csr
+crt = $(name).crt
+
+root = ca$(name).pem
+rootkey = ca$(name).key
+
+config = $(name).cfg
+days = 3650
+
+hosts =
+
+all : $(crt)
+
+clean :
+ @rm -f $(crt) $(csr) $(pubkey) $(prvkey)
+
+%.key :
+ @echo generating $@
+ openssl genrsa -out $@ $(width)
+
+%.pub : %.key
+ @echo generating $@
+ openssl rsa -in $< -out $@
+
+$(config) : $(MAKEFILE_LIST)
+ @echo generating $@
+ @( \
+ echo RANDFILE = $ENV::HOME/.rnd ; \
+ echo [ req ] ; \
+ echo default_bits = $(width) ; \
+ echo default_keyfile = $(prvkey) ; \
+ echo distinguished_name = req_distinguished_name ; \
+ echo req_extensions = v3_req ; \
+ echo prompt = no ; \
+ echo [ req_distinguished_name ] ; \
+ echo C = $(country) ; \
+ echo ST = $(state) ; \
+ echo L = $(locality) ; \
+ echo O = $(org) ; \
+ echo OU = $(unit) ; \
+ echo CN= $(common) ; \
+ echo emailAddress = $(email) ; \
+ echo [v3_ca] ; \
+ echo subjectKeyIdentifier=hash ; \
+ echo authorityKeyIdentifier=keyid:always,issuer:always ; \
+ echo basicConstraints = CA:true ; \
+ echo [v3_req] ; \
+ echo "# Extensions to add to a certificate request" ; \
+ echo basicConstraints = CA:FALSE ; \
+ echo keyUsage = nonRepudiation, digitalSignature, keyEncipherment ; \
+ $(if $(hosts), echo subjectAltName = @alt_names ;) \
+ $(if $(hosts), echo [alt_names] ;) \
+ $(if $(hosts), index=1; for host in $(hosts); \
+ do echo DNS.$$index = $$host.$(domain); \
+ index=$$(($$index + 1));done ;) \
+ ) > $@
+
+%.csr : %.key $(config)
+ @echo generating $@
+ openssl req -new -key $< -out $@ -config $(config)
+
+%.crt : %.csr $(root) $(rootkey)
+ @echo generating $@
+ openssl x509 -req -in $< -CA $(root) -CAkey $(rootkey) -CAcreateserial \
+ -out $@ -days $(days)
+
+%.pem : %.key $(config)
+ @echo generating $@
+ openssl req -x509 -new -nodes -key $< -days $(days) -config $(config) \
+ -out $@
+
+.PRECIOUS : %.pem %.key %.pub %.crt %.csr
+
diff --git a/src/seastar/tests/unit/mock_file.hh b/src/seastar/tests/unit/mock_file.hh
new file mode 100644
index 00000000..3ee47695
--- /dev/null
+++ b/src/seastar/tests/unit/mock_file.hh
@@ -0,0 +1,113 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2017 ScyllaDB Ltd.
+ */
+
+#pragma once
+
+#include <boost/range/numeric.hpp>
+
+#include <seastar/testing/seastar_test.hh>
+#include <seastar/core/file.hh>
+
+namespace seastar {
+
+class mock_read_only_file final : public file_impl {
+ bool _closed = false;
+ uint64_t _total_file_size;
+ size_t _allowed_read_requests = 0;
+ std::function<void(size_t)> _verify_length;
+private:
+ size_t verify_read(uint64_t position, size_t length) {
+ BOOST_CHECK(!_closed);
+ BOOST_CHECK_LE(position, _total_file_size);
+ BOOST_CHECK_LE(position + length, _total_file_size);
+ if (position + length != _total_file_size) {
+ _verify_length(length);
+ }
+ BOOST_CHECK(_allowed_read_requests);
+ assert(_allowed_read_requests);
+ _allowed_read_requests--;
+ return length;
+ }
+public:
+ explicit mock_read_only_file(uint64_t file_size) noexcept
+ : _total_file_size(file_size)
+ , _verify_length([] (auto) { })
+ { }
+
+ void set_read_size_verifier(std::function<void(size_t)> fn) {
+ _verify_length = fn;
+ }
+ void set_expected_read_size(size_t expected) {
+ _verify_length = [expected] (auto length) {
+ BOOST_CHECK_EQUAL(length, expected);
+ };
+ }
+ void set_allowed_read_requests(size_t requests) {
+ _allowed_read_requests = requests;
+ }
+
+ virtual future<size_t> write_dma(uint64_t, const void*, size_t, const io_priority_class&) override {
+ throw std::bad_function_call();
+ }
+ virtual future<size_t> write_dma(uint64_t, std::vector<iovec>, const io_priority_class&) override {
+ throw std::bad_function_call();
+ }
+ virtual future<size_t> read_dma(uint64_t pos, void*, size_t len, const io_priority_class&) override {
+ return make_ready_future<size_t>(verify_read(pos, len));
+ }
+ virtual future<size_t> read_dma(uint64_t pos, std::vector<iovec> iov, const io_priority_class&) override {
+ auto length = boost::accumulate(iov | boost::adaptors::transformed([] (auto&& iov) { return iov.iov_len; }),
+ size_t(0), std::plus<size_t>());
+ return make_ready_future<size_t>(verify_read(pos, length));
+ }
+ virtual future<> flush() override {
+ return make_ready_future<>();
+ }
+ virtual future<struct stat> stat() override {
+ throw std::bad_function_call();
+ }
+ virtual future<> truncate(uint64_t) {
+ throw std::bad_function_call();
+ }
+ virtual future<> discard(uint64_t offset, uint64_t length) override {
+ throw std::bad_function_call();
+ }
+ virtual future<> allocate(uint64_t position, uint64_t length) override {
+ throw std::bad_function_call();
+ }
+ virtual future<uint64_t> size() override {
+ return make_ready_future<uint64_t>(_total_file_size);
+ }
+ virtual future<> close() override {
+ BOOST_CHECK(!_closed);
+ _closed = true;
+ return make_ready_future<>();
+ }
+ virtual subscription<directory_entry> list_directory(std::function<future<> (directory_entry de)>) override {
+ throw std::bad_function_call();
+ }
+ virtual future<temporary_buffer<uint8_t>> dma_read_bulk(uint64_t offset, size_t range_size, const io_priority_class&) override {
+ auto length = verify_read(offset, range_size);
+ return make_ready_future<temporary_buffer<uint8_t>>(temporary_buffer<uint8_t>(length));
+ }
+};
+
+}
diff --git a/src/seastar/tests/unit/net_config_test.cc b/src/seastar/tests/unit/net_config_test.cc
new file mode 100644
index 00000000..ec26135f
--- /dev/null
+++ b/src/seastar/tests/unit/net_config_test.cc
@@ -0,0 +1,127 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright 2017 Marek Waszkiewicz ( marek.waszkiewicz77@gmail.com )
+ */
+
+#define BOOST_TEST_MODULE core
+
+#include <seastar/net/config.hh>
+#include <boost/test/included/unit_test.hpp>
+#include <exception>
+#include <sstream>
+
+using namespace seastar::net;
+
+BOOST_AUTO_TEST_CASE(test_valid_config_with_pci_address) {
+ std::stringstream ss;
+ ss << "{eth0: {pci-address: 0000:06:00.0, ip: 192.168.100.10, gateway: 192.168.100.1, netmask: "
+ "255.255.255.0 } , eth1: {pci-address: 0000:06:00.1, dhcp: true } }";
+ auto device_configs = parse_config(ss);
+
+ // eth0 tests
+ BOOST_REQUIRE(device_configs.find("eth0") != device_configs.end());
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth0").hw_cfg.pci_address, "0000:06:00.0");
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth0").ip_cfg.dhcp, false);
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth0").ip_cfg.ip, "192.168.100.10");
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth0").ip_cfg.gateway, "192.168.100.1");
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth0").ip_cfg.netmask, "255.255.255.0");
+
+ // eth1 tests
+ BOOST_REQUIRE(device_configs.find("eth1") != device_configs.end());
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth1").hw_cfg.pci_address, "0000:06:00.1");
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth1").ip_cfg.dhcp, true);
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth1").ip_cfg.ip, "");
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth1").ip_cfg.gateway, "");
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth1").ip_cfg.netmask, "");
+}
+
+BOOST_AUTO_TEST_CASE(test_valid_config_with_port_index) {
+ std::stringstream ss;
+ ss << "{eth0: {port-index: 0, ip: 192.168.100.10, gateway: 192.168.100.1, netmask: "
+ "255.255.255.0 } , eth1: {port-index: 1, dhcp: true } }";
+ auto device_configs = parse_config(ss);
+
+ // eth0 tests
+ BOOST_REQUIRE(device_configs.find("eth0") != device_configs.end());
+ BOOST_REQUIRE_EQUAL(*device_configs.at("eth0").hw_cfg.port_index, 0u);
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth0").ip_cfg.dhcp, false);
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth0").ip_cfg.ip, "192.168.100.10");
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth0").ip_cfg.gateway, "192.168.100.1");
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth0").ip_cfg.netmask, "255.255.255.0");
+
+ // eth1 tests
+ BOOST_REQUIRE(device_configs.find("eth1") != device_configs.end());
+ BOOST_REQUIRE_EQUAL(*device_configs.at("eth1").hw_cfg.port_index, 1u);
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth1").ip_cfg.dhcp, true);
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth1").ip_cfg.ip, "");
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth1").ip_cfg.gateway, "");
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth1").ip_cfg.netmask, "");
+}
+
+BOOST_AUTO_TEST_CASE(test_valid_config_single_device) {
+ std::stringstream ss;
+ ss << "eth0: {pci-address: 0000:06:00.0, ip: 192.168.100.10, gateway: 192.168.100.1, netmask: "
+ "255.255.255.0 }";
+ auto device_configs = parse_config(ss);
+
+ // eth0 tests
+ BOOST_REQUIRE(device_configs.find("eth0") != device_configs.end());
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth0").hw_cfg.pci_address, "0000:06:00.0");
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth0").ip_cfg.dhcp, false);
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth0").ip_cfg.ip, "192.168.100.10");
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth0").ip_cfg.gateway, "192.168.100.1");
+ BOOST_REQUIRE_EQUAL(device_configs.at("eth0").ip_cfg.netmask, "255.255.255.0");
+}
+
+BOOST_AUTO_TEST_CASE(test_unsupported_key) {
+ std::stringstream ss;
+ ss << "{eth0: { some_not_supported_tag: xxx, pci-address: 0000:06:00.0, ip: 192.168.100.10, "
+ "gateway: 192.168.100.1, netmask: 255.255.255.0 } , eth1: {pci-address: 0000:06:00.1, "
+ "dhcp: true } }";
+
+ BOOST_REQUIRE_THROW(parse_config(ss), config_exception);
+}
+
+BOOST_AUTO_TEST_CASE(test_bad_yaml_syntax_if_thrown) {
+ std::stringstream ss;
+ ss << "some bad: [ yaml syntax }";
+ BOOST_REQUIRE_THROW(parse_config(ss), std::runtime_error);
+}
+
+BOOST_AUTO_TEST_CASE(test_pci_address_and_port_index_if_thrown) {
+ std::stringstream ss;
+ ss << "{eth0: {pci-address: 0000:06:00.0, port-index: 0, ip: 192.168.100.10, gateway: "
+ "192.168.100.1, netmask: 255.255.255.0 } , eth1: {pci-address: 0000:06:00.1, dhcp: true} "
+ "}";
+ BOOST_REQUIRE_THROW(parse_config(ss), config_exception);
+}
+
+BOOST_AUTO_TEST_CASE(test_dhcp_and_ip_if_thrown) {
+ std::stringstream ss;
+ ss << "{eth0: {pci-address: 0000:06:00.0, ip: 192.168.100.10, gateway: 192.168.100.1, netmask: "
+ "255.255.255.0, dhcp: true } , eth1: {pci-address: 0000:06:00.1, dhcp: true} }";
+ BOOST_REQUIRE_THROW(parse_config(ss), config_exception);
+}
+
+BOOST_AUTO_TEST_CASE(test_ip_missing_if_thrown) {
+ std::stringstream ss;
+ ss << "{eth0: {pci-address: 0000:06:00.0, gateway: 192.168.100.1, netmask: 255.255.255.0 } , "
+ "eth1: {pci-address: 0000:06:00.1, dhcp: true} }";
+ BOOST_REQUIRE_THROW(parse_config(ss), config_exception);
+}
diff --git a/src/seastar/tests/unit/noncopyable_function_test.cc b/src/seastar/tests/unit/noncopyable_function_test.cc
new file mode 100644
index 00000000..dc19d752
--- /dev/null
+++ b/src/seastar/tests/unit/noncopyable_function_test.cc
@@ -0,0 +1,87 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2017 ScyllaDB Ltd.
+ */
+
+
+#define BOOST_TEST_MODULE core
+
+#include <boost/test/included/unit_test.hpp>
+#include <seastar/util/noncopyable_function.hh>
+
+using namespace seastar;
+
+BOOST_AUTO_TEST_CASE(basic_tests) {
+ struct s {
+ int f1(int x) const { return x + 1; }
+ int f2(int x) { return x + 2; }
+ static int f3(int x) { return x + 3; }
+ int operator()(int x) const { return x + 4; }
+ };
+ s obj, obj2;
+ auto fn1 = noncopyable_function<int (const s*, int)>(&s::f1);
+ auto fn2 = noncopyable_function<int (s*, int)>(&s::f2);
+ auto fn3 = noncopyable_function<int (int)>(&s::f3);
+ auto fn4 = noncopyable_function<int (int)>(std::move(obj2));
+ BOOST_REQUIRE_EQUAL(fn1(&obj, 1), 2);
+ BOOST_REQUIRE_EQUAL(fn2(&obj, 1), 3);
+ BOOST_REQUIRE_EQUAL(fn3(1), 4);
+ BOOST_REQUIRE_EQUAL(fn4(1), 5);
+}
+
+template <size_t Extra>
+struct payload {
+ static unsigned live;
+ char extra[Extra];
+ std::unique_ptr<int> v;
+ payload(int x) : v(std::make_unique<int>(x)) { ++live; }
+ payload(payload&& x) noexcept : v(std::move(x.v)) { ++live; }
+ void operator=(payload&&) = delete;
+ ~payload() { --live; }
+ int operator()() const { return *v; }
+};
+
+template <size_t Extra>
+unsigned payload<Extra>::live;
+
+template <size_t Extra>
+void do_move_tests() {
+ using payload = ::payload<Extra>;
+ auto f1 = noncopyable_function<int ()>(payload(3));
+ BOOST_REQUIRE_EQUAL(payload::live, 1u);
+ BOOST_REQUIRE_EQUAL(f1(), 3);
+ auto f2 = noncopyable_function<int ()>();
+ BOOST_CHECK_THROW(f2(), std::bad_function_call);
+ f2 = std::move(f1);
+ BOOST_CHECK_THROW(f1(), std::bad_function_call);
+ BOOST_REQUIRE_EQUAL(f2(), 3);
+ BOOST_REQUIRE_EQUAL(payload::live, 1u);
+ f2 = {};
+ BOOST_REQUIRE_EQUAL(payload::live, 0u);
+ BOOST_CHECK_THROW(f2(), std::bad_function_call);
+}
+
+BOOST_AUTO_TEST_CASE(small_move_tests) {
+ do_move_tests<1>();
+}
+
+BOOST_AUTO_TEST_CASE(large_move_tests) {
+ do_move_tests<1000>();
+}
+
diff --git a/src/seastar/tests/unit/output_stream_test.cc b/src/seastar/tests/unit/output_stream_test.cc
new file mode 100644
index 00000000..84d38fa6
--- /dev/null
+++ b/src/seastar/tests/unit/output_stream_test.cc
@@ -0,0 +1,131 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2014 Cloudius Systems, Ltd.
+ */
+
+#include <seastar/core/app-template.hh>
+#include <seastar/core/shared_ptr.hh>
+#include <seastar/core/reactor.hh>
+#include <seastar/core/vector-data-sink.hh>
+#include <seastar/core/future-util.hh>
+#include <seastar/core/sstring.hh>
+#include <seastar/net/packet.hh>
+#include <seastar/testing/test_case.hh>
+#include <vector>
+
+using namespace seastar;
+using namespace net;
+
+static sstring to_sstring(const packet& p) {
+ sstring res(sstring::initialized_later(), p.len());
+ auto i = res.begin();
+ for (auto& frag : p.fragments()) {
+ i = std::copy(frag.base, frag.base + frag.size, i);
+ }
+ return res;
+}
+
+struct stream_maker {
+ bool _trim = false;
+ size_t _size;
+
+ stream_maker size(size_t size) && {
+ _size = size;
+ return std::move(*this);
+ }
+
+ stream_maker trim(bool do_trim) && {
+ _trim = do_trim;
+ return std::move(*this);
+ }
+
+ lw_shared_ptr<output_stream<char>> operator()(data_sink sink) {
+ return make_lw_shared<output_stream<char>>(std::move(sink), _size, _trim);
+ }
+};
+
+template <typename T, typename StreamConstructor>
+future<> assert_split(StreamConstructor stream_maker, std::initializer_list<T> write_calls,
+ std::vector<std::string> expected_split) {
+ static int i = 0;
+ BOOST_TEST_MESSAGE("checking split: " << i++);
+ auto sh_write_calls = make_lw_shared<std::initializer_list<T>>(std::move(write_calls));
+ auto sh_expected_splits = make_lw_shared<std::vector<std::string>>(std::move(expected_split));
+ auto v = make_shared<std::vector<packet>>();
+ auto out = stream_maker(data_sink(std::make_unique<vector_data_sink>(*v)));
+
+ return do_for_each(sh_write_calls->begin(), sh_write_calls->end(), [out, sh_write_calls] (auto&& chunk) {
+ return out->write(chunk);
+ }).then([out, v, sh_expected_splits] {
+ return out->close().then([out, v, sh_expected_splits] {
+ BOOST_REQUIRE_EQUAL(v->size(), sh_expected_splits->size());
+ int i = 0;
+ for (auto&& chunk : *sh_expected_splits) {
+ BOOST_REQUIRE(to_sstring((*v)[i]) == chunk);
+ i++;
+ }
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_splitting) {
+ auto ctor = stream_maker().trim(false).size(4);
+ return now()
+ .then([=] { return assert_split(ctor, {"1"}, {"1"}); })
+ .then([=] { return assert_split(ctor, {"12", "3"}, {"123"}); })
+ .then([=] { return assert_split(ctor, {"12", "34"}, {"1234"}); })
+ .then([=] { return assert_split(ctor, {"12", "345"}, {"1234", "5"}); })
+ .then([=] { return assert_split(ctor, {"1234"}, {"1234"}); })
+ .then([=] { return assert_split(ctor, {"12345"}, {"12345"}); })
+ .then([=] { return assert_split(ctor, {"1234567890"}, {"1234567890"}); })
+ .then([=] { return assert_split(ctor, {"1", "23456"}, {"1234", "56"}); })
+ .then([=] { return assert_split(ctor, {"123", "4567"}, {"1234", "567"}); })
+ .then([=] { return assert_split(ctor, {"123", "45678"}, {"1234", "5678"}); })
+ .then([=] { return assert_split(ctor, {"123", "4567890"}, {"1234", "567890"}); })
+ .then([=] { return assert_split(ctor, {"1234", "567"}, {"1234", "567"}); })
+
+ .then([] { return assert_split(stream_maker().trim(false).size(3), {"1", "234567", "89"}, {"123", "4567", "89"}); })
+ .then([] { return assert_split(stream_maker().trim(false).size(3), {"1", "2345", "67"}, {"123", "456", "7"}); })
+ ;
+}
+
+SEASTAR_TEST_CASE(test_splitting_with_trimming) {
+ auto ctor = stream_maker().trim(true).size(4);
+ return now()
+ .then([=] { return assert_split(ctor, {"1"}, {"1"}); })
+ .then([=] { return assert_split(ctor, {"12", "3"}, {"123"}); })
+ .then([=] { return assert_split(ctor, {"12", "3456789"}, {"1234", "5678", "9"}); })
+ .then([=] { return assert_split(ctor, {"12", "3456789", "12"}, {"1234", "5678", "912"}); })
+ .then([=] { return assert_split(ctor, {"123456789"}, {"1234", "5678", "9"}); })
+ .then([=] { return assert_split(ctor, {"12345678"}, {"1234", "5678"}); })
+ .then([=] { return assert_split(ctor, {"12345678", "9"}, {"1234", "5678", "9"}); })
+ .then([=] { return assert_split(ctor, {"1234", "567890"}, {"1234", "5678", "90"}); })
+ ;
+}
+
+SEASTAR_TEST_CASE(test_flush_on_empty_buffer_does_not_push_empty_packet_down_stream) {
+ auto v = make_shared<std::vector<packet>>();
+ auto out = make_shared<output_stream<char>>(
+ data_sink(std::make_unique<vector_data_sink>(*v)), 8);
+
+ return out->flush().then([v, out] {
+ BOOST_REQUIRE(v->empty());
+ return out->close();
+ }).finally([out]{});
+}
diff --git a/src/seastar/tests/unit/packet_test.cc b/src/seastar/tests/unit/packet_test.cc
new file mode 100644
index 00000000..a0bdd291
--- /dev/null
+++ b/src/seastar/tests/unit/packet_test.cc
@@ -0,0 +1,121 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2015 Cloudius Systems, Ltd.
+ */
+
+
+#define BOOST_TEST_MODULE core
+
+#include <boost/test/included/unit_test.hpp>
+#include <seastar/net/packet.hh>
+#include <array>
+
+using namespace seastar;
+using namespace net;
+
+BOOST_AUTO_TEST_CASE(test_many_fragments) {
+ std::vector<char> expected;
+
+ auto append = [&expected] (net::packet p, char c, size_t n) {
+ auto tmp = temporary_buffer<char>(n);
+ std::fill_n(tmp.get_write(), n, c);
+ std::fill_n(std::back_inserter(expected), n, c);
+ return net::packet(std::move(p), std::move(tmp));
+ };
+
+ net::packet p;
+ p = append(std::move(p), 'a', 5);
+ p = append(std::move(p), 'b', 31);
+ p = append(std::move(p), 'c', 65);
+ p = append(std::move(p), 'c', 4096);
+ p = append(std::move(p), 'd', 4096);
+
+ auto verify = [&expected] (const net::packet& p) {
+ BOOST_CHECK_EQUAL(p.len(), expected.size());
+ auto expected_it = expected.begin();
+ for (auto&& frag : p.fragments()) {
+ BOOST_CHECK_LE(frag.size, static_cast<size_t>(expected.end() - expected_it));
+ BOOST_CHECK(std::equal(frag.base, frag.base + frag.size, expected_it));
+ expected_it += frag.size;
+ }
+ };
+
+ auto trim_front = [&expected] (net::packet& p, size_t n) {
+ p.trim_front(n);
+ expected.erase(expected.begin(), expected.begin() + n);
+ };
+
+ verify(p);
+
+ trim_front(p, 1);
+ verify(p);
+
+ trim_front(p, 6);
+ verify(p);
+
+ trim_front(p, 29);
+ verify(p);
+
+ trim_front(p, 1024);
+ verify(p);
+
+ net::packet p2;
+ p2 = append(std::move(p2), 'z', 9);
+ p2 = append(std::move(p2), 'x', 7);
+
+ p.append(std::move(p2));
+ verify(p);
+}
+
+BOOST_AUTO_TEST_CASE(test_headers_are_contiguous) {
+ using tcp_header = std::array<char, 20>;
+ using ip_header = std::array<char, 20>;
+ char data[1000] = {};
+ fragment f{data, sizeof(data)};
+ packet p(f);
+ p.prepend_header<tcp_header>();
+ p.prepend_header<ip_header>();
+ BOOST_REQUIRE_EQUAL(p.nr_frags(), 2u);
+}
+
+BOOST_AUTO_TEST_CASE(test_headers_are_contiguous_even_with_small_fragment) {
+ using tcp_header = std::array<char, 20>;
+ using ip_header = std::array<char, 20>;
+ char data[100] = {};
+ fragment f{data, sizeof(data)};
+ packet p(f);
+ p.prepend_header<tcp_header>();
+ p.prepend_header<ip_header>();
+ BOOST_REQUIRE_EQUAL(p.nr_frags(), 2u);
+}
+
+BOOST_AUTO_TEST_CASE(test_headers_are_contiguous_even_with_many_fragments) {
+ using tcp_header = std::array<char, 20>;
+ using ip_header = std::array<char, 20>;
+ char data[100] = {};
+ fragment f{data, sizeof(data)};
+ packet p(f);
+ for (int i = 0; i < 7; ++i) {
+ p.append(packet(f));
+ }
+ p.prepend_header<tcp_header>();
+ p.prepend_header<ip_header>();
+ BOOST_REQUIRE_EQUAL(p.nr_frags(), 9u);
+}
+
diff --git a/src/seastar/tests/unit/program_options_test.cc b/src/seastar/tests/unit/program_options_test.cc
new file mode 100644
index 00000000..408752d5
--- /dev/null
+++ b/src/seastar/tests/unit/program_options_test.cc
@@ -0,0 +1,63 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2017 ScyllaDB
+ */
+
+#define BOOST_TEST_MODULE core
+
+#include <seastar/util/program-options.hh>
+
+#include <boost/program_options.hpp>
+#include <boost/test/included/unit_test.hpp>
+
+#include <initializer_list>
+#include <vector>
+
+namespace bpo = boost::program_options;
+
+using namespace seastar;
+
+static bpo::variables_map parse(const bpo::options_description& desc, std::initializer_list<const char*> args) {
+ std::vector<const char*> raw_args{"program_options_test"};
+ for (const char* arg : args) {
+ raw_args.push_back(arg);
+ }
+
+ bpo::variables_map vars;
+ bpo::store(bpo::parse_command_line(raw_args.size(), raw_args.data(), desc), vars);
+ bpo::notify(vars);
+
+ return vars;
+}
+
+BOOST_AUTO_TEST_CASE(string_map) {
+ bpo::options_description desc;
+ desc.add_options()
+ ("ages", bpo::value<program_options::string_map>());
+
+ const auto vars = parse(desc, {"--ages", "joe=15:sally=20", "--ages", "phil=18:joe=11"});
+ const auto& ages = vars["ages"].as<program_options::string_map>();
+
+ // `string_map` values can be specified multiple times. The last association takes precedence.
+ BOOST_REQUIRE_EQUAL(ages.at("joe"), "11");
+ BOOST_REQUIRE_EQUAL(ages.at("phil"), "18");
+ BOOST_REQUIRE_EQUAL(ages.at("sally"), "20");
+
+ BOOST_REQUIRE_THROW(parse(desc, {"--ages", "tim:"}), bpo::invalid_option_value);
+}
diff --git a/src/seastar/tests/unit/queue_test.cc b/src/seastar/tests/unit/queue_test.cc
new file mode 100644
index 00000000..a8405e0a
--- /dev/null
+++ b/src/seastar/tests/unit/queue_test.cc
@@ -0,0 +1,70 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright 2018 ScyllaDB
+ */
+
+#include <seastar/testing/test_case.hh>
+#include <seastar/core/queue.hh>
+#include <seastar/core/thread.hh>
+#include <seastar/core/sleep.hh>
+
+using namespace seastar;
+using namespace std::chrono_literals;
+
+SEASTAR_TEST_CASE(test_queue_pop_after_abort) {
+ return async([] {
+ queue<int> q(1);
+ bool exception = false;
+ bool timer = false;
+ future<> done = make_ready_future();
+ q.abort(std::make_exception_ptr(std::runtime_error("boom")));
+ done = sleep(1ms).then([&] {
+ timer = true;
+ q.abort(std::make_exception_ptr(std::runtime_error("boom")));
+ });
+ try {
+ q.pop_eventually().get();
+ } catch(...) {
+ exception = !timer;
+ }
+ BOOST_REQUIRE(exception);
+ done.get();
+ });
+}
+
+SEASTAR_TEST_CASE(test_queue_push_abort) {
+ return async([] {
+ queue<int> q(1);
+ bool exception = false;
+ bool timer = false;
+ future<> done = make_ready_future();
+ q.abort(std::make_exception_ptr(std::runtime_error("boom")));
+ done = sleep(1ms).then([&] {
+ timer = true;
+ q.abort(std::make_exception_ptr(std::runtime_error("boom")));
+ });
+ try {
+ q.push_eventually(1).get();
+ } catch(...) {
+ exception = !timer;
+ }
+ BOOST_REQUIRE(exception);
+ done.get();
+ });
+}
diff --git a/src/seastar/tests/unit/rpc_test.cc b/src/seastar/tests/unit/rpc_test.cc
new file mode 100644
index 00000000..6daf7ed7
--- /dev/null
+++ b/src/seastar/tests/unit/rpc_test.cc
@@ -0,0 +1,547 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2016 ScyllaDB
+ */
+
+
+#include "loopback_socket.hh"
+#include <seastar/rpc/rpc.hh>
+#include <seastar/rpc/rpc_types.hh>
+#include <seastar/rpc/lz4_compressor.hh>
+#include <seastar/rpc/multi_algo_compressor_factory.hh>
+#include <seastar/testing/test_case.hh>
+#include <seastar/testing/thread_test_case.hh>
+#include <seastar/core/thread.hh>
+#include <seastar/core/sleep.hh>
+#include <seastar/util/defer.hh>
+
+using namespace seastar;
+
+struct serializer {
+};
+
+template <typename T, typename Output>
+inline
+void write_arithmetic_type(Output& out, T v) {
+ static_assert(std::is_arithmetic<T>::value, "must be arithmetic type");
+ return out.write(reinterpret_cast<const char*>(&v), sizeof(T));
+}
+
+template <typename T, typename Input>
+inline
+T read_arithmetic_type(Input& in) {
+ static_assert(std::is_arithmetic<T>::value, "must be arithmetic type");
+ T v;
+ in.read(reinterpret_cast<char*>(&v), sizeof(T));
+ return v;
+}
+
+template <typename Output>
+inline void write(serializer, Output& output, int32_t v) { return write_arithmetic_type(output, v); }
+template <typename Output>
+inline void write(serializer, Output& output, uint32_t v) { return write_arithmetic_type(output, v); }
+template <typename Output>
+inline void write(serializer, Output& output, int64_t v) { return write_arithmetic_type(output, v); }
+template <typename Output>
+inline void write(serializer, Output& output, uint64_t v) { return write_arithmetic_type(output, v); }
+template <typename Output>
+inline void write(serializer, Output& output, double v) { return write_arithmetic_type(output, v); }
+template <typename Input>
+inline int32_t read(serializer, Input& input, rpc::type<int32_t>) { return read_arithmetic_type<int32_t>(input); }
+template <typename Input>
+inline uint32_t read(serializer, Input& input, rpc::type<uint32_t>) { return read_arithmetic_type<uint32_t>(input); }
+template <typename Input>
+inline uint64_t read(serializer, Input& input, rpc::type<uint64_t>) { return read_arithmetic_type<uint64_t>(input); }
+template <typename Input>
+inline uint64_t read(serializer, Input& input, rpc::type<int64_t>) { return read_arithmetic_type<int64_t>(input); }
+template <typename Input>
+inline double read(serializer, Input& input, rpc::type<double>) { return read_arithmetic_type<double>(input); }
+
+template <typename Output>
+inline void write(serializer, Output& out, const sstring& v) {
+ write_arithmetic_type(out, uint32_t(v.size()));
+ out.write(v.c_str(), v.size());
+}
+
+template <typename Input>
+inline sstring read(serializer, Input& in, rpc::type<sstring>) {
+ auto size = read_arithmetic_type<uint32_t>(in);
+ sstring ret(sstring::initialized_later(), size);
+ in.read(ret.begin(), size);
+ return ret;
+}
+
+using test_rpc_proto = rpc::protocol<serializer>;
+using make_socket_fn = std::function<seastar::socket ()>;
+
+struct rpc_loopback_error_injector : public loopback_error_injector {
+ int _x = 0;
+ bool server_rcv_error() override {
+ return _x++ >= 50;
+ }
+};
+
+class rpc_socket_impl : public ::net::socket_impl {
+ promise<connected_socket> _p;
+ bool _connect;
+ loopback_socket_impl _socket;
+ rpc_loopback_error_injector _error_injector;
+public:
+ rpc_socket_impl(loopback_connection_factory& factory, bool connect, bool inject_error)
+ : _connect(connect),
+ _socket(factory, inject_error ? &_error_injector : nullptr) {
+ }
+ virtual future<connected_socket> connect(socket_address sa, socket_address local, transport proto = transport::TCP) override {
+ return _connect ? _socket.connect(sa, local, proto) : _p.get_future();
+ }
+ virtual void shutdown() override {
+ if (_connect) {
+ _socket.shutdown();
+ } else {
+ _p.set_exception(std::make_exception_ptr(std::system_error(ECONNABORTED, std::system_category())));
+ }
+ }
+};
+
+future<>
+with_rpc_env(rpc::resource_limits resource_limits, rpc::server_options so, bool connect, bool inject_error,
+ std::function<future<> (test_rpc_proto& proto, test_rpc_proto::server& server, make_socket_fn make_socket)> test_fn) {
+ struct state {
+ test_rpc_proto proto{serializer()};
+ loopback_connection_factory lcf;
+ std::vector<std::unique_ptr<test_rpc_proto::server>> servers;
+ };
+ return do_with(state(), [=] (state& s) {
+ s.servers.resize(smp::count);
+ return smp::invoke_on_all([=, &s] {
+ s.servers[engine().cpu_id()] = std::make_unique<test_rpc_proto::server>(s.proto, so, s.lcf.get_server_socket(), resource_limits);
+ }).then([=, &s] {
+ auto make_socket = [&s, connect, inject_error] () {
+ return seastar::socket(std::make_unique<rpc_socket_impl>(s.lcf, connect, inject_error));
+ };
+ return test_fn(s.proto, *s.servers[0], make_socket).finally([&] {
+ return smp::invoke_on_all([&s] {
+ auto sptr = s.servers[engine().cpu_id()].get();
+ s.lcf.destroy_shard(engine().cpu_id());
+ return sptr->stop().finally([p = std::move(s.servers[engine().cpu_id()])] {});
+ });
+ });
+ });
+ });
+}
+
+struct cfactory : rpc::compressor::factory {
+ mutable int use_compression = 0;
+ const sstring name;
+ cfactory(sstring name_ = "LZ4") : name(std::move(name_)) {}
+ const sstring& supported() const override {
+ return name;
+ }
+ std::unique_ptr<rpc::compressor> negotiate(sstring feature, bool is_server) const override {
+ if (feature == name) {
+ use_compression++;
+ return std::make_unique<rpc::lz4_compressor>();
+ } else {
+ return nullptr;
+ }
+ }
+};
+#if 1
+SEASTAR_TEST_CASE(test_rpc_connect) {
+ std::vector<future<>> fs;
+
+ for (auto i = 0; i < 2; i++) {
+ for (auto j = 0; j < 4; j++) {
+ auto factory = std::make_unique<cfactory>();
+ rpc::server_options so;
+ rpc::client_options co;
+ if (i == 1) {
+ so.compressor_factory = factory.get();
+ }
+ if (j & 1) {
+ co.compressor_factory = factory.get();
+ }
+ co.send_timeout_data = j & 2;
+ auto f = with_rpc_env({}, so, true, false, [co] (test_rpc_proto& proto, test_rpc_proto::server& s, make_socket_fn make_socket) {
+ return seastar::async([&proto, make_socket, co] {
+ test_rpc_proto::client c1(proto, co, make_socket(), ipv4_addr());
+ auto sum = proto.register_handler(1, [](int a, int b) {
+ return make_ready_future<int>(a+b);
+ });
+ auto result = sum(c1, 2, 3).get0();
+ BOOST_REQUIRE_EQUAL(result, 2 + 3);
+ c1.stop().get();
+ });
+ }).handle_exception([] (auto ep) {
+ BOOST_FAIL("No exception expected");
+ }).finally([factory = std::move(factory), i, j = j & 1] {
+ if (i == 1 && j == 1) {
+ BOOST_REQUIRE_EQUAL(factory->use_compression, 2);
+ } else {
+ BOOST_REQUIRE_EQUAL(factory->use_compression, 0);
+ }
+ });
+ fs.emplace_back(std::move(f));
+ }
+ }
+ return when_all(fs.begin(), fs.end()).discard_result();
+}
+
+SEASTAR_TEST_CASE(test_rpc_connect_multi_compression_algo) {
+ auto factory1 = std::make_unique<cfactory>();
+ auto factory2 = std::make_unique<cfactory>("LZ4NEW");
+ rpc::server_options so;
+ rpc::client_options co;
+ static rpc::multi_algo_compressor_factory server({factory1.get(), factory2.get()});
+ static rpc::multi_algo_compressor_factory client({factory2.get(), factory1.get()});
+ so.compressor_factory = &server;
+ co.compressor_factory = &client;
+ return with_rpc_env({}, so, true, false, [co] (test_rpc_proto& proto, test_rpc_proto::server& s, make_socket_fn make_socket) {
+ return seastar::async([&proto, make_socket, co] {
+ test_rpc_proto::client c1(proto, co, make_socket(), ipv4_addr());
+ auto sum = proto.register_handler(1, [](int a, int b) {
+ return make_ready_future<int>(a+b);
+ });
+ auto result = sum(c1, 2, 3).get0();
+ BOOST_REQUIRE_EQUAL(result, 2 + 3);
+ c1.stop().get();
+ });
+ }).finally([factory1 = std::move(factory1), factory2 = std::move(factory2)] {
+ BOOST_REQUIRE_EQUAL(factory1->use_compression, 0);
+ BOOST_REQUIRE_EQUAL(factory2->use_compression, 2);
+ });
+}
+
+SEASTAR_TEST_CASE(test_rpc_connect_abort) {
+ return with_rpc_env({}, {}, false, false, [] (test_rpc_proto& proto, test_rpc_proto::server& s, make_socket_fn make_socket) {
+ return seastar::async([&proto, make_socket] {
+ test_rpc_proto::client c1(proto, {}, make_socket(), ipv4_addr());
+ auto f = proto.register_handler(1, []() { return make_ready_future<>(); });
+ c1.stop().get0();
+ try {
+ f(c1).get0();
+ BOOST_REQUIRE(false);
+ } catch (...) {}
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_rpc_cancel) {
+ using namespace std::chrono_literals;
+ return with_rpc_env({}, {}, true, false, [] (test_rpc_proto& proto, test_rpc_proto::server& s, make_socket_fn make_socket) {
+ return seastar::async([&proto, make_socket] {
+ test_rpc_proto::client c1(proto, {}, make_socket(), ipv4_addr());
+ bool rpc_executed = false;
+ int good = 0;
+ promise<> handler_called;
+ future<> f_handler_called = handler_called.get_future();
+ auto call = proto.register_handler(1, [&rpc_executed, handler_called = std::move(handler_called)] () mutable {
+ handler_called.set_value(); rpc_executed = true; return sleep(1ms);
+ });
+ rpc::cancellable cancel;
+ auto f = call(c1, cancel);
+ // cancel send side
+ cancel.cancel();
+ try {
+ f.get();
+ } catch(rpc::canceled_error&) {
+ good += !rpc_executed;
+ };
+ f = call(c1, cancel);
+ // cancel wait side
+ f_handler_called.then([&cancel] {
+ cancel.cancel();
+ }).get();
+ try {
+ f.get();
+ } catch(rpc::canceled_error&) {
+ good += 10*rpc_executed;
+ };
+ c1.stop().get();
+ BOOST_REQUIRE_EQUAL(good, 11);
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_message_to_big) {
+ return with_rpc_env({0, 1, 100}, {}, true, false, [] (test_rpc_proto& proto, test_rpc_proto::server& s, make_socket_fn make_socket) {
+ return seastar::async([&proto, make_socket] {
+ test_rpc_proto::client c(proto, {}, make_socket(), ipv4_addr());
+ bool good = true;
+ auto call = proto.register_handler(1, [&] (sstring payload) mutable {
+ good = false;
+ });
+ try {
+ call(c, sstring(sstring::initialized_later(), 101)).get();
+ good = false;
+ } catch(std::runtime_error& err) {
+ } catch(...) {
+ good = false;
+ }
+ c.stop().get();
+ BOOST_REQUIRE_EQUAL(good, true);
+ });
+ });
+}
+#endif
+
+struct stream_test_result {
+ bool client_source_closed = false;
+ bool server_source_closed = false;
+ bool sink_exception = false;
+ bool sink_close_exception = false;
+ bool source_done_exception = false;
+ bool server_done_exception = false;
+ bool client_stop_exception = false;
+ int server_sum = 0;
+};
+
+future<stream_test_result> stream_test_func(test_rpc_proto& proto, make_socket_fn make_socket, bool stop_client) {
+ return seastar::async([&proto, make_socket, stop_client] {
+ stream_test_result r;
+ test_rpc_proto::client c(proto, {}, make_socket(), ipv4_addr());
+ future<> server_done = make_ready_future();
+ proto.register_handler(1, [&](int i, rpc::source<int> source) {
+ BOOST_REQUIRE_EQUAL(i, 666);
+ auto sink = source.make_sink<serializer, sstring>();
+ auto sink_loop = seastar::async([sink] () mutable {
+ for (auto i = 0; i < 100; i++) {
+ sink("seastar").get();
+ sleep(std::chrono::milliseconds(1)).get();
+ }
+ sink.close().get();
+ });
+ auto source_loop = seastar::async([source, &r] () mutable {
+ while (!r.server_source_closed) {
+ auto data = source().get0();
+ if (data) {
+ r.server_sum += std::get<0>(*data);
+ } else {
+ r.server_source_closed = true;
+ }
+ }
+ });
+ server_done = when_all_succeed(std::move(sink_loop), std::move(source_loop)).discard_result();
+ return sink;
+ });
+ auto call = proto.make_client<rpc::source<sstring> (int, rpc::sink<int>)>(1);
+ auto x = [&] {
+ try {
+ return c.make_stream_sink<serializer, int>(make_socket()).get0();
+ } catch (...) {
+ c.stop().get();
+ throw;
+ }
+ };
+ auto sink = x();
+ auto source = call(c, 666, sink).get0();
+ auto source_done = seastar::async([&] {
+ while (!r.client_source_closed) {
+ auto data = source().get0();
+ if (data) {
+ BOOST_REQUIRE_EQUAL(std::get<0>(*data), "seastar");
+ } else {
+ r.client_source_closed = true;
+ }
+ }
+ });
+ auto check_exception = [] (auto f) {
+ try {
+ f.get();
+ } catch (...) {
+ return true;
+ }
+ return false;
+ };
+ future<> stop_client_future = make_ready_future();
+ for (int i = 1; i < 101; i++) {
+ if (stop_client && i == 50) {
+ // stop client while stream is in use
+ stop_client_future = c.stop();
+ }
+ sleep(std::chrono::milliseconds(1)).get();
+ r.sink_exception = check_exception(sink(i));
+ if (r.sink_exception) {
+ break;
+ }
+ }
+ r.sink_close_exception = check_exception(sink.close());
+ r.source_done_exception = check_exception(std::move(source_done));
+ r.server_done_exception = check_exception(std::move(server_done));
+ r.client_stop_exception = check_exception(!stop_client ? c.stop() : std::move(stop_client_future));
+ return r;
+ });
+}
+
+SEASTAR_TEST_CASE(test_stream_simple) {
+ rpc::server_options so;
+ so.streaming_domain = rpc::streaming_domain_type(1);
+ return with_rpc_env({}, so, true, false, [] (test_rpc_proto& proto, test_rpc_proto::server& s, make_socket_fn make_socket) {
+ return stream_test_func(proto, make_socket, false).then([] (stream_test_result r) {
+ BOOST_REQUIRE(r.client_source_closed &&
+ r.server_source_closed &&
+ r.server_sum == 5050 &&
+ !r.sink_exception &&
+ !r.sink_close_exception &&
+ !r.source_done_exception &&
+ !r.server_done_exception &&
+ !r.client_stop_exception);
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_stream_stop_client) {
+ rpc::server_options so;
+ so.streaming_domain = rpc::streaming_domain_type(1);
+ return with_rpc_env({}, so, true, false, [] (test_rpc_proto& proto, test_rpc_proto::server& s, make_socket_fn make_socket) {
+ return stream_test_func(proto, make_socket, true).then([] (stream_test_result r) {
+ BOOST_REQUIRE(!r.client_source_closed &&
+ !r.server_source_closed &&
+ r.sink_exception &&
+ r.sink_close_exception &&
+ r.source_done_exception &&
+ r.server_done_exception &&
+ !r.client_stop_exception);
+ });
+ });
+}
+
+
+SEASTAR_TEST_CASE(test_stream_connection_error) {
+ rpc::server_options so;
+ so.streaming_domain = rpc::streaming_domain_type(1);
+ return with_rpc_env({}, so, true, true, [] (test_rpc_proto& proto, test_rpc_proto::server& s, make_socket_fn make_socket) {
+ return stream_test_func(proto, make_socket, false).then([] (stream_test_result r) {
+ BOOST_REQUIRE(!r.client_source_closed &&
+ !r.server_source_closed &&
+ r.sink_exception &&
+ r.sink_close_exception &&
+ r.source_done_exception &&
+ r.server_done_exception &&
+ !r.client_stop_exception);
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_rpc_scheduling) {
+ return with_rpc_env({}, {}, true, false, [] (test_rpc_proto& proto, test_rpc_proto::server& s, make_socket_fn make_socket) {
+ return seastar::async([&proto, make_socket] {
+ test_rpc_proto::client c1(proto, {}, make_socket(), ipv4_addr());
+ auto sg = create_scheduling_group("rpc", 100).get0();
+ auto call = proto.register_handler(1, sg, [sg] () mutable {
+ BOOST_REQUIRE(sg == current_scheduling_group());
+ return make_ready_future<>();
+ });
+ call(c1).get();
+ c1.stop().get();
+ });
+ });
+}
+
+SEASTAR_THREAD_TEST_CASE(test_rpc_scheduling_connection_based) {
+ auto sg1 = create_scheduling_group("sg1", 100).get0();
+ auto sg1_kill = defer([&] { destroy_scheduling_group(sg1).get(); });
+ auto sg2 = create_scheduling_group("sg2", 100).get0();
+ auto sg2_kill = defer([&] { destroy_scheduling_group(sg2).get(); });
+ rpc::resource_limits limits;
+ limits.isolate_connection = [sg1, sg2] (sstring cookie) {
+ auto sg = current_scheduling_group();
+ if (cookie == "sg1") {
+ sg = sg1;
+ } else if (cookie == "sg2") {
+ sg = sg2;
+ }
+ rpc::isolation_config cfg;
+ cfg.sched_group = sg;
+ return cfg;
+ };
+ with_rpc_env(limits, {}, true, false, [sg1, sg2] (test_rpc_proto& proto, test_rpc_proto::server& s, make_socket_fn make_socket) {
+ return async([&proto, make_socket, sg1, sg2] {
+ rpc::client_options co1;
+ co1.isolation_cookie = "sg1";
+ test_rpc_proto::client c1(proto, co1, make_socket(), ipv4_addr());
+ rpc::client_options co2;
+ co2.isolation_cookie = "sg2";
+ test_rpc_proto::client c2(proto, co2, make_socket(), ipv4_addr());
+ auto call = proto.register_handler(1, [sg1, sg2] (int which) mutable {
+ scheduling_group expected;
+ if (which == 1) {
+ expected = sg1;
+ } else if (which == 2) {
+ expected = sg2;
+ }
+ BOOST_REQUIRE(current_scheduling_group() == expected);
+ return make_ready_future<>();
+ });
+ call(c1, 1).get();
+ call(c2, 2).get();
+ c1.stop().get();
+ c2.stop().get();
+ });
+ }).get();
+}
+
+SEASTAR_THREAD_TEST_CASE(test_rpc_scheduling_connection_based_compatibility) {
+ auto sg1 = create_scheduling_group("sg1", 100).get0();
+ auto sg1_kill = defer([&] { destroy_scheduling_group(sg1).get(); });
+ auto sg2 = create_scheduling_group("sg2", 100).get0();
+ auto sg2_kill = defer([&] { destroy_scheduling_group(sg2).get(); });
+ rpc::resource_limits limits;
+ limits.isolate_connection = [sg1, sg2] (sstring cookie) {
+ auto sg = current_scheduling_group();
+ if (cookie == "sg1") {
+ sg = sg1;
+ } else if (cookie == "sg2") {
+ sg = sg2;
+ }
+ rpc::isolation_config cfg;
+ cfg.sched_group = sg;
+ return cfg;
+ };
+ with_rpc_env(limits, {}, true, false, [sg1, sg2] (test_rpc_proto& proto, test_rpc_proto::server& s, make_socket_fn make_socket) {
+ return async([&proto, make_socket, sg1, sg2] {
+ rpc::client_options co1;
+ co1.isolation_cookie = "sg1";
+ test_rpc_proto::client c1(proto, co1, make_socket(), ipv4_addr());
+ rpc::client_options co2;
+ co2.isolation_cookie = "sg2";
+ test_rpc_proto::client c2(proto, co2, make_socket(), ipv4_addr());
+ // An old client, that doesn't have an isolation cookie
+ rpc::client_options co3;
+ test_rpc_proto::client c3(proto, co3, make_socket(), ipv4_addr());
+ // A server that uses sg1 if the client is old
+ auto call = proto.register_handler(1, sg1, [sg1, sg2] (int which) mutable {
+ scheduling_group expected;
+ if (which == 1) {
+ expected = sg1;
+ } else if (which == 2) {
+ expected = sg2;
+ }
+ BOOST_REQUIRE(current_scheduling_group() == expected);
+ return make_ready_future<>();
+ });
+ call(c1, 1).get();
+ call(c2, 2).get();
+ call(c3, 1).get();
+ c1.stop().get();
+ c2.stop().get();
+ c3.stop().get();
+ });
+ }).get();
+}
diff --git a/src/seastar/tests/unit/semaphore_test.cc b/src/seastar/tests/unit/semaphore_test.cc
new file mode 100644
index 00000000..c12edb99
--- /dev/null
+++ b/src/seastar/tests/unit/semaphore_test.cc
@@ -0,0 +1,249 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/*
+ * Copyright (C) 2015 Cloudius Systems, Ltd.
+ */
+
+#include <seastar/core/thread.hh>
+#include <seastar/core/do_with.hh>
+#include <seastar/testing/test_case.hh>
+#include <seastar/testing/thread_test_case.hh>
+#include <seastar/core/sstring.hh>
+#include <seastar/core/reactor.hh>
+#include <seastar/core/semaphore.hh>
+#include <seastar/core/do_with.hh>
+#include <seastar/core/future-util.hh>
+#include <seastar/core/sleep.hh>
+#include <seastar/core/shared_mutex.hh>
+#include <boost/range/irange.hpp>
+
+using namespace seastar;
+using namespace std::chrono_literals;
+
+
+SEASTAR_TEST_CASE(test_semaphore_consume) {
+ semaphore sem(0);
+ sem.consume(1);
+ BOOST_REQUIRE_EQUAL(sem.current(), 0u);
+ BOOST_REQUIRE_EQUAL(sem.waiters(), 0u);
+
+ BOOST_REQUIRE_EQUAL(sem.try_wait(0), false);
+ auto fut = sem.wait(1);
+ BOOST_REQUIRE_EQUAL(fut.available(), false);
+ BOOST_REQUIRE_EQUAL(sem.waiters(), 1u);
+ sem.signal(2);
+ BOOST_REQUIRE_EQUAL(sem.waiters(), 0u);
+ return make_ready_future<>();
+}
+
+SEASTAR_TEST_CASE(test_semaphore_1) {
+ return do_with(std::make_pair(semaphore(0), 0), [] (std::pair<semaphore, int>& x) {
+ x.first.wait().then([&x] {
+ x.second++;
+ });
+ x.first.signal();
+ return sleep(10ms).then([&x] {
+ BOOST_REQUIRE_EQUAL(x.second, 1);
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_semaphore_2) {
+ return do_with(std::make_pair(semaphore(0), 0), [] (std::pair<semaphore, int>& x) {
+ x.first.wait().then([&x] {
+ x.second++;
+ });
+ return sleep(10ms).then([&x] {
+ BOOST_REQUIRE_EQUAL(x.second, 0);
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_semaphore_timeout_1) {
+ return do_with(std::make_pair(semaphore(0), 0), [] (std::pair<semaphore, int>& x) {
+ x.first.wait(10ms).then([&x] {
+ x.second++;
+ });
+ sleep(3ms).then([&x] {
+ x.first.signal();
+ });
+ return sleep(20ms).then([&x] {
+ BOOST_REQUIRE_EQUAL(x.second, 1);
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_semaphore_timeout_2) {
+ return do_with(std::make_pair(semaphore(0), 0), [] (std::pair<semaphore, int>& x) {
+ x.first.wait(3ms).then([&x] {
+ x.second++;
+ });
+ sleep(10ms).then([&x] {
+ x.first.signal();
+ });
+ return sleep(20ms).then([&x] {
+ BOOST_REQUIRE_EQUAL(x.second, 0);
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_semaphore_mix_1) {
+ return do_with(std::make_pair(semaphore(0), 0), [] (std::pair<semaphore, int>& x) {
+ x.first.wait(3ms).then([&x] {
+ x.second++;
+ });
+ x.first.wait().then([&x] {
+ x.second = 10;
+ });
+ sleep(10ms).then([&x] {
+ x.first.signal();
+ });
+ return sleep(20ms).then([&x] {
+ BOOST_REQUIRE_EQUAL(x.second, 10);
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_broken_semaphore) {
+ auto sem = make_lw_shared<semaphore>(0);
+ struct oops {};
+ auto check_result = [sem] (future<> f) {
+ try {
+ f.get();
+ BOOST_FAIL("expecting exception");
+ } catch (oops& x) {
+ // ok
+ return make_ready_future<>();
+ } catch (...) {
+ BOOST_FAIL("wrong exception seen");
+ }
+ BOOST_FAIL("unreachable");
+ return make_ready_future<>();
+ };
+ auto ret = sem->wait().then_wrapped(check_result);
+ sem->broken(oops());
+ return sem->wait().then_wrapped(check_result).then([ret = std::move(ret)] () mutable {
+ return std::move(ret);
+ });
+}
+
+SEASTAR_TEST_CASE(test_shared_mutex_exclusive) {
+ return do_with(shared_mutex(), unsigned(0), [] (shared_mutex& sm, unsigned& counter) {
+ return parallel_for_each(boost::irange(0, 10), [&sm, &counter] (int idx) {
+ return with_lock(sm, [&counter] {
+ BOOST_REQUIRE_EQUAL(counter, 0u);
+ ++counter;
+ return sleep(10ms).then([&counter] {
+ --counter;
+ BOOST_REQUIRE_EQUAL(counter, 0u);
+ });
+ });
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_shared_mutex_shared) {
+ return do_with(shared_mutex(), unsigned(0), [] (shared_mutex& sm, unsigned& counter) {
+ auto running_in_parallel = [&sm, &counter] (int instance) {
+ return with_shared(sm, [&counter] {
+ ++counter;
+ return sleep(10ms).then([&counter] {
+ bool was_parallel = counter != 0;
+ --counter;
+ return was_parallel;
+ });
+ });
+ };
+ return map_reduce(boost::irange(0, 100), running_in_parallel, false, std::bit_or<bool>()).then([&counter] (bool result) {
+ BOOST_REQUIRE_EQUAL(result, true);
+ BOOST_REQUIRE_EQUAL(counter, 0u);
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_shared_mutex_mixed) {
+ return do_with(shared_mutex(), unsigned(0), [] (shared_mutex& sm, unsigned& counter) {
+ auto running_in_parallel = [&sm, &counter] (int instance) {
+ return with_shared(sm, [&counter] {
+ ++counter;
+ return sleep(10ms).then([&counter] {
+ bool was_parallel = counter != 0;
+ --counter;
+ return was_parallel;
+ });
+ });
+ };
+ auto running_alone = [&sm, &counter] (int instance) {
+ return with_lock(sm, [&counter] {
+ BOOST_REQUIRE_EQUAL(counter, 0u);
+ ++counter;
+ return sleep(10ms).then([&counter] {
+ --counter;
+ BOOST_REQUIRE_EQUAL(counter, 0u);
+ return true;
+ });
+ });
+ };
+ auto run = [running_in_parallel, running_alone] (int instance) {
+ if (instance % 9 == 0) {
+ return running_alone(instance);
+ } else {
+ return running_in_parallel(instance);
+ }
+ };
+ return map_reduce(boost::irange(0, 100), run, false, std::bit_or<bool>()).then([&counter] (bool result) {
+ BOOST_REQUIRE_EQUAL(result, true);
+ BOOST_REQUIRE_EQUAL(counter, 0u);
+ });
+ });
+}
+
+
+SEASTAR_TEST_CASE(test_with_semaphore) {
+ return do_with(semaphore(1), 0, [] (semaphore& sem, int& counter) {
+ return with_semaphore(sem, 1, [&counter] {
+ ++counter;
+ }).then([&counter, &sem] () {
+ return with_semaphore(sem, 1, [&counter] {
+ ++counter;
+ throw 123;
+ }).then_wrapped([&counter] (auto&& fut) {
+ BOOST_REQUIRE_EQUAL(counter, 2);
+ BOOST_REQUIRE(fut.failed());
+ fut.ignore_ready_future();
+ });
+ });
+ });
+}
+
+SEASTAR_THREAD_TEST_CASE(test_semaphore_units_splitting) {
+ auto sm = semaphore(2);
+ auto units = get_units(sm, 2, 1min).get0();
+ {
+ BOOST_REQUIRE_EQUAL(sm.available_units(), 0);
+ auto split = units.split(1);
+ BOOST_REQUIRE_EQUAL(sm.available_units(), 0);
+ }
+ BOOST_REQUIRE_EQUAL(sm.available_units(), 1);
+ units.~semaphore_units();
+ units = get_units(sm, 2, 1min).get0();
+ BOOST_REQUIRE_EQUAL(sm.available_units(), 0);
+ BOOST_REQUIRE_THROW(units.split(10), std::invalid_argument);
+ BOOST_REQUIRE_EQUAL(sm.available_units(), 0);
+}
diff --git a/src/seastar/tests/unit/shared_ptr_test.cc b/src/seastar/tests/unit/shared_ptr_test.cc
new file mode 100644
index 00000000..3ee4b658
--- /dev/null
+++ b/src/seastar/tests/unit/shared_ptr_test.cc
@@ -0,0 +1,204 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/*
+ * Copyright 2015 Cloudius Systems
+ */
+
+#define BOOST_TEST_MODULE core
+
+#include <boost/test/included/unit_test.hpp>
+#include <set>
+#include <unordered_map>
+#include <seastar/core/sstring.hh>
+#include <seastar/core/shared_ptr.hh>
+
+using namespace seastar;
+
+struct expected_exception : public std::exception {};
+
+struct A {
+ static bool destroyed;
+ A() {
+ destroyed = false;
+ }
+ virtual ~A() {
+ destroyed = true;
+ }
+};
+
+struct A_esft : public A, public enable_lw_shared_from_this<A_esft> {
+};
+
+struct B {
+ virtual void x() {}
+};
+
+bool A::destroyed = false;
+
+BOOST_AUTO_TEST_CASE(explot_dynamic_cast_use_after_free_problem) {
+ shared_ptr<A> p = ::make_shared<A>();
+ {
+ auto p2 = dynamic_pointer_cast<B>(p);
+ BOOST_ASSERT(!p2);
+ }
+ BOOST_ASSERT(!A::destroyed);
+}
+
+class C : public enable_shared_from_this<C> {
+public:
+ shared_ptr<C> dup() { return shared_from_this(); }
+ shared_ptr<const C> get() const { return shared_from_this(); }
+};
+
+BOOST_AUTO_TEST_CASE(test_const_ptr) {
+ shared_ptr<C> a = make_shared<C>();
+ shared_ptr<const C> ca = a;
+ BOOST_REQUIRE(ca == a);
+ shared_ptr<const C> cca = ca->get();
+ BOOST_REQUIRE(cca == ca);
+}
+
+struct D {};
+
+BOOST_AUTO_TEST_CASE(test_lw_const_ptr_1) {
+ auto pd1 = make_lw_shared<const D>(D());
+ auto pd2 = make_lw_shared(D());
+ lw_shared_ptr<const D> pd3 = pd2;
+ BOOST_REQUIRE(pd2 == pd3);
+}
+
+struct E : enable_lw_shared_from_this<E> {};
+
+BOOST_AUTO_TEST_CASE(test_lw_const_ptr_2) {
+ auto pe1 = make_lw_shared<const E>();
+ auto pe2 = make_lw_shared<E>();
+ lw_shared_ptr<const E> pe3 = pe2;
+ BOOST_REQUIRE(pe2 == pe3);
+}
+
+struct F : enable_lw_shared_from_this<F> {
+ auto const_method() const {
+ return shared_from_this();
+ }
+};
+
+BOOST_AUTO_TEST_CASE(test_shared_from_this_called_on_const_object) {
+ auto ptr = make_lw_shared<F>();
+ ptr->const_method();
+}
+
+BOOST_AUTO_TEST_CASE(test_exception_thrown_from_constructor_is_propagated) {
+ struct X {
+ X() {
+ throw expected_exception();
+ }
+ };
+ try {
+ auto ptr = make_lw_shared<X>();
+ BOOST_FAIL("Constructor should have thrown");
+ } catch (const expected_exception& e) {
+ BOOST_TEST_MESSAGE("Expected exception caught");
+ }
+ try {
+ auto ptr = ::make_shared<X>();
+ BOOST_FAIL("Constructor should have thrown");
+ } catch (const expected_exception& e) {
+ BOOST_TEST_MESSAGE("Expected exception caught");
+ }
+}
+
+BOOST_AUTO_TEST_CASE(test_indirect_functors) {
+ {
+ std::multiset<shared_ptr<sstring>, indirect_less<shared_ptr<sstring>>> a_set;
+
+ a_set.insert(make_shared<sstring>("k3"));
+ a_set.insert(make_shared<sstring>("k1"));
+ a_set.insert(make_shared<sstring>("k2"));
+ a_set.insert(make_shared<sstring>("k4"));
+ a_set.insert(make_shared<sstring>("k0"));
+
+
+ auto i = a_set.begin();
+ BOOST_REQUIRE_EQUAL(sstring("k0"), *(*i++));
+ BOOST_REQUIRE_EQUAL(sstring("k1"), *(*i++));
+ BOOST_REQUIRE_EQUAL(sstring("k2"), *(*i++));
+ BOOST_REQUIRE_EQUAL(sstring("k3"), *(*i++));
+ BOOST_REQUIRE_EQUAL(sstring("k4"), *(*i++));
+ }
+
+ {
+ std::unordered_map<shared_ptr<sstring>, bool,
+ indirect_hash<shared_ptr<sstring>>, indirect_equal_to<shared_ptr<sstring>>> a_map;
+
+ a_map.emplace(make_shared<sstring>("k3"), true);
+ a_map.emplace(make_shared<sstring>("k1"), true);
+ a_map.emplace(make_shared<sstring>("k2"), true);
+ a_map.emplace(make_shared<sstring>("k4"), true);
+ a_map.emplace(make_shared<sstring>("k0"), true);
+
+ BOOST_REQUIRE(a_map.count(make_shared<sstring>("k0")));
+ BOOST_REQUIRE(a_map.count(make_shared<sstring>("k1")));
+ BOOST_REQUIRE(a_map.count(make_shared<sstring>("k2")));
+ BOOST_REQUIRE(a_map.count(make_shared<sstring>("k3")));
+ BOOST_REQUIRE(a_map.count(make_shared<sstring>("k4")));
+ BOOST_REQUIRE(!a_map.count(make_shared<sstring>("k5")));
+ }
+}
+
+template<typename T>
+void do_test_release() {
+ auto ptr = make_lw_shared<T>();
+ BOOST_REQUIRE(!T::destroyed);
+
+ auto ptr2 = ptr;
+
+ BOOST_REQUIRE(!ptr.release());
+ BOOST_REQUIRE(!ptr);
+ BOOST_REQUIRE(ptr2.use_count() == 1);
+
+ auto uptr2 = ptr2.release();
+ BOOST_REQUIRE(uptr2);
+ BOOST_REQUIRE(!ptr2);
+ ptr2 = {};
+
+ BOOST_REQUIRE(!T::destroyed);
+ uptr2 = {};
+
+ BOOST_REQUIRE(T::destroyed);
+
+ // Check destroying via disposer
+ auto ptr3 = make_lw_shared<T>();
+ auto uptr3 = ptr3.release();
+ BOOST_REQUIRE(uptr3);
+ BOOST_REQUIRE(!T::destroyed);
+
+ auto raw_ptr3 = uptr3.release();
+ lw_shared_ptr<T>::dispose(raw_ptr3);
+ BOOST_REQUIRE(T::destroyed);
+}
+
+BOOST_AUTO_TEST_CASE(test_release) {
+ do_test_release<A>();
+ do_test_release<A_esft>();
+}
+
+BOOST_AUTO_TEST_CASE(test_const_release) {
+ do_test_release<const A>();
+ do_test_release<const A_esft>();
+}
diff --git a/src/seastar/tests/unit/signal_test.cc b/src/seastar/tests/unit/signal_test.cc
new file mode 100755
index 00000000..080de068
--- /dev/null
+++ b/src/seastar/tests/unit/signal_test.cc
@@ -0,0 +1,48 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2014 Cloudius Systems, Ltd.
+ */
+
+#include <seastar/core/reactor.hh>
+#include <seastar/core/shared_ptr.hh>
+#include <seastar/core/do_with.hh>
+#include <seastar/testing/test_case.hh>
+
+using namespace seastar;
+
+extern "C" {
+#include <signal.h>
+#include <sys/types.h>
+#include <unistd.h>
+}
+
+SEASTAR_TEST_CASE(test_sighup) {
+ return do_with(make_lw_shared<promise<>>(), false, [](auto const& p, bool& signaled) {
+ engine().handle_signal(SIGHUP, [p, &signaled] {
+ signaled = true;
+ p->set_value();
+ });
+
+ kill(getpid(), SIGHUP);
+
+ return p->get_future().then([&] {
+ BOOST_REQUIRE_EQUAL(signaled, true);
+ });
+ });
+}
diff --git a/src/seastar/tests/unit/simple_stream_test.cc b/src/seastar/tests/unit/simple_stream_test.cc
new file mode 100644
index 00000000..32e0bf2d
--- /dev/null
+++ b/src/seastar/tests/unit/simple_stream_test.cc
@@ -0,0 +1,99 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2018 ScyllaDB Ltd.
+ */
+
+#define BOOST_TEST_MODULE simple_stream
+
+#include <boost/test/included/unit_test.hpp>
+#include <seastar/core/simple-stream.hh>
+
+using namespace seastar;
+
+template<typename Input, typename Output>
+static void write_read_test(Input in, Output out)
+{
+ auto aa = std::vector<char>(4, 'a');
+ auto bb = std::vector<char>(3, 'b');
+ auto cc = std::vector<char>(2, 'c');
+
+ out.write(aa.data(), aa.size());
+ out.fill('b', 3);
+
+ BOOST_CHECK_THROW(out.fill(' ', 3), std::out_of_range);
+ BOOST_CHECK_THROW(out.write(" ", 3), std::out_of_range);
+
+ out.write(cc.data(), cc.size());
+
+ BOOST_CHECK_THROW(out.fill(' ', 1), std::out_of_range);
+ BOOST_CHECK_THROW(out.write(" ", 1), std::out_of_range);
+
+ auto actual_aa = std::vector<char>(4);
+ in.read(actual_aa.data(), actual_aa.size());
+ BOOST_CHECK_EQUAL(aa, actual_aa);
+
+ auto actual_bb = std::vector<char>(3);
+ in.read(actual_bb.data(), actual_bb.size());
+ BOOST_CHECK_EQUAL(bb, actual_bb);
+
+ actual_aa.resize(1024);
+ BOOST_CHECK_THROW(in.read(actual_aa.data(), actual_aa.size()), std::out_of_range);
+
+ auto actual_cc = std::vector<char>(2);
+ in.read(actual_cc.data(), actual_cc.size());
+ BOOST_CHECK_EQUAL(cc, actual_cc);
+
+ BOOST_CHECK_THROW(in.read(actual_aa.data(), 1), std::out_of_range);
+}
+
+BOOST_AUTO_TEST_CASE(simple_write_read_test) {
+ auto buf = temporary_buffer<char>(9);
+
+ write_read_test(simple_memory_input_stream(buf.get(), buf.size()),
+ simple_memory_output_stream(buf.get_write(), buf.size()));
+
+ std::fill_n(buf.get_write(), buf.size(), 'x');
+
+ auto out = simple_memory_output_stream(buf.get_write(), buf.size());
+ write_read_test(out.to_input_stream(), out);
+}
+
+BOOST_AUTO_TEST_CASE(fragmented_write_read_test) {
+ static constexpr size_t total_size = 9;
+
+ auto bufs = std::vector<temporary_buffer<char>>();
+ using iterator_type = std::vector<temporary_buffer<char>>::iterator;
+
+ auto test = [&] {
+ write_read_test(fragmented_memory_input_stream<iterator_type>(bufs.begin(), total_size),
+ fragmented_memory_output_stream<iterator_type>(bufs.begin(), total_size));
+
+ auto out = fragmented_memory_output_stream<iterator_type>(bufs.begin(), total_size);
+ write_read_test(out.to_input_stream(), out);
+ };
+
+ bufs.emplace_back(total_size);
+ test();
+
+ bufs.clear();
+ for (auto i = 0u; i < total_size; i++) {
+ bufs.emplace_back(1);
+ }
+ test();
+}
diff --git a/src/seastar/tests/unit/slab_test.cc b/src/seastar/tests/unit/slab_test.cc
new file mode 100644
index 00000000..7588dd79
--- /dev/null
+++ b/src/seastar/tests/unit/slab_test.cc
@@ -0,0 +1,127 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2015 Cloudius Systems, Ltd.
+ *
+ * To compile: g++ -std=c++14 slab_test.cc
+ */
+
+#include <iostream>
+#include <assert.h>
+#include <seastar/core/slab.hh>
+
+using namespace seastar;
+
+namespace bi = boost::intrusive;
+
+static constexpr size_t max_object_size = 1024*1024;
+
+class item : public slab_item_base {
+public:
+ bi::list_member_hook<> _cache_link;
+ uint32_t _slab_page_index;
+
+ item(uint32_t slab_page_index) : _slab_page_index(slab_page_index) {}
+
+ const uint32_t get_slab_page_index() {
+ return _slab_page_index;
+ }
+ const bool is_unlocked() {
+ return true;
+ }
+};
+
+template<typename Item>
+static void free_vector(slab_allocator<Item>& slab, std::vector<item *>& items) {
+ for (auto item : items) {
+ slab.free(item);
+ }
+}
+
+static void test_allocation_1(const double growth_factor, const unsigned slab_limit_size) {
+ slab_allocator<item> slab(growth_factor, slab_limit_size, max_object_size);
+ size_t size = max_object_size;
+
+ slab.print_slab_classes();
+
+ std::vector<item *> items;
+
+ assert(slab_limit_size % size == 0);
+ for (auto i = 0u; i < (slab_limit_size / size); i++) {
+ auto item = slab.create(size);
+ items.push_back(item);
+ }
+ assert(slab.create(size) == nullptr);
+
+ free_vector<item>(slab, items);
+ std::cout << __FUNCTION__ << " done!\n";
+}
+
+static void test_allocation_2(const double growth_factor, const unsigned slab_limit_size) {
+ slab_allocator<item> slab(growth_factor, slab_limit_size, max_object_size);
+ size_t size = 1024;
+
+ std::vector<item *> items;
+
+ auto allocations = 0u;
+ for (;;) {
+ auto item = slab.create(size);
+ if (!item) {
+ break;
+ }
+ items.push_back(item);
+ allocations++;
+ }
+
+ auto class_size = slab.class_size(size);
+ auto per_slab_page = max_object_size / class_size;
+ auto available_slab_pages = slab_limit_size / max_object_size;
+ assert(allocations == (per_slab_page * available_slab_pages));
+
+ free_vector<item>(slab, items);
+ std::cout << __FUNCTION__ << " done!\n";
+}
+
+static void test_allocation_with_lru(const double growth_factor, const unsigned slab_limit_size) {
+ bi::list<item, bi::member_hook<item, bi::list_member_hook<>, &item::_cache_link>> _cache;
+ unsigned evictions = 0;
+
+ slab_allocator<item> slab(growth_factor, slab_limit_size, max_object_size,
+ [&](item& item_ref) { _cache.erase(_cache.iterator_to(item_ref)); evictions++; });
+ size_t size = max_object_size;
+
+ auto max = slab_limit_size / max_object_size;
+ for (auto i = 0u; i < max * 1000; i++) {
+ auto item = slab.create(size);
+ assert(item != nullptr);
+ _cache.push_front(*item);
+ }
+ assert(evictions == max * 999);
+
+ _cache.clear();
+
+ std::cout << __FUNCTION__ << " done!\n";
+}
+
+int main(int ac, char** av) {
+ test_allocation_1(1.25, 5*1024*1024);
+ test_allocation_2(1.07, 5*1024*1024); // 1.07 is the growth factor used by facebook.
+ test_allocation_with_lru(1.25, 5*1024*1024);
+
+ return 0;
+}
diff --git a/src/seastar/tests/unit/smp_test.cc b/src/seastar/tests/unit/smp_test.cc
new file mode 100644
index 00000000..bc523a13
--- /dev/null
+++ b/src/seastar/tests/unit/smp_test.cc
@@ -0,0 +1,80 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2014 Cloudius Systems, Ltd.
+ */
+
+#include <seastar/core/reactor.hh>
+#include <seastar/core/app-template.hh>
+#include <seastar/core/print.hh>
+
+using namespace seastar;
+
+future<bool> test_smp_call() {
+ return smp::submit_to(1, [] {
+ return make_ready_future<int>(3);
+ }).then([] (int ret) {
+ return make_ready_future<bool>(ret == 3);
+ });
+}
+
+struct nasty_exception {};
+
+future<bool> test_smp_exception() {
+ fmt::print("1\n");
+ return smp::submit_to(1, [] {
+ fmt::print("2\n");
+ auto x = make_exception_future<int>(nasty_exception());
+ fmt::print("3\n");
+ return x;
+ }).then_wrapped([] (future<int> result) {
+ fmt::print("4\n");
+ try {
+ result.get();
+ return make_ready_future<bool>(false); // expected an exception
+ } catch (nasty_exception&) {
+ // all is well
+ return make_ready_future<bool>(true);
+ } catch (...) {
+ // incorrect exception type
+ return make_ready_future<bool>(false);
+ }
+ });
+}
+
+int tests, fails;
+
+future<>
+report(sstring msg, future<bool>&& result) {
+ return std::move(result).then([msg] (bool result) {
+ fmt::print("{}: {}\n", (result ? "PASS" : "FAIL"), msg);
+ tests += 1;
+ fails += !result;
+ });
+}
+
+int main(int ac, char** av) {
+ return app_template().run_deprecated(ac, av, [] {
+ return report("smp call", test_smp_call()).then([] {
+ return report("smp exception", test_smp_exception());
+ }).then([] {
+ fmt::print("\n{:d} tests / {:d} failures\n", tests, fails);
+ engine().exit(fails ? 1 : 0);
+ });
+ });
+}
diff --git a/src/seastar/tests/unit/sstring_test.cc b/src/seastar/tests/unit/sstring_test.cc
new file mode 100644
index 00000000..1452b792
--- /dev/null
+++ b/src/seastar/tests/unit/sstring_test.cc
@@ -0,0 +1,135 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright 2014 Cloudius Systems
+ */
+
+#define BOOST_TEST_MODULE core
+
+#include <boost/test/included/unit_test.hpp>
+#include <seastar/core/sstring.hh>
+#include <list>
+
+using namespace seastar;
+
+BOOST_AUTO_TEST_CASE(test_construction) {
+ BOOST_REQUIRE_EQUAL(sstring(compat::string_view("abc")), sstring("abc"));
+}
+
+BOOST_AUTO_TEST_CASE(test_equality) {
+ BOOST_REQUIRE_EQUAL(sstring("aaa"), sstring("aaa"));
+}
+
+BOOST_AUTO_TEST_CASE(test_to_sstring) {
+ BOOST_REQUIRE_EQUAL(to_sstring(1234567), sstring("1234567"));
+}
+
+BOOST_AUTO_TEST_CASE(test_add_literal_to_sstring) {
+ BOOST_REQUIRE_EQUAL("x" + sstring("y"), sstring("xy"));
+}
+
+BOOST_AUTO_TEST_CASE(test_find_sstring) {
+ BOOST_REQUIRE_EQUAL(sstring("abcde").find('b'), 1u);
+ BOOST_REQUIRE_EQUAL(sstring("babcde").find('b',1), 2u);
+}
+
+BOOST_AUTO_TEST_CASE(test_not_find_sstring) {
+ BOOST_REQUIRE_EQUAL(sstring("abcde").find('x'), sstring::npos);
+}
+
+BOOST_AUTO_TEST_CASE(test_str_find_sstring) {
+ BOOST_REQUIRE_EQUAL(sstring("abcde").find("bc"), 1u);
+ BOOST_REQUIRE_EQUAL(sstring("abcbcde").find("bc", 2), 3u);
+}
+
+BOOST_AUTO_TEST_CASE(test_str_not_find_sstring) {
+ BOOST_REQUIRE_EQUAL(sstring("abcde").find("x"), sstring::npos);
+}
+
+BOOST_AUTO_TEST_CASE(test_substr_sstring) {
+ BOOST_REQUIRE_EQUAL(sstring("abcde").substr(1,2), "bc");
+ BOOST_REQUIRE_EQUAL(sstring("abc").substr(1,2), "bc");
+ BOOST_REQUIRE_EQUAL(sstring("abc").substr(1,3), "bc");
+ BOOST_REQUIRE_EQUAL(sstring("abc").substr(0, 2), "ab");
+ BOOST_REQUIRE_EQUAL(sstring("abc").substr(3, 2), "");
+ BOOST_REQUIRE_EQUAL(sstring("abc").substr(1), "bc");
+}
+
+BOOST_AUTO_TEST_CASE(test_substr_eor_sstring) {
+ BOOST_REQUIRE_THROW(sstring("abcde").substr(6,1), std::out_of_range);
+}
+
+BOOST_AUTO_TEST_CASE(test_at_sstring) {
+ BOOST_REQUIRE_EQUAL(sstring("abcde").at(1), 'b');
+ BOOST_REQUIRE_THROW(sstring("abcde").at(6), std::out_of_range);
+ sstring s("abcde");
+ s.at(1) = 'd';
+ BOOST_REQUIRE_EQUAL(s, "adcde");
+}
+
+BOOST_AUTO_TEST_CASE(test_find_last_sstring) {
+ BOOST_REQUIRE_EQUAL(sstring("ababa").find_last_of('a'), 4u);
+ BOOST_REQUIRE_EQUAL(sstring("ababa").find_last_of('a',5), 4u);
+ BOOST_REQUIRE_EQUAL(sstring("ababa").find_last_of('a',4), 4u);
+ BOOST_REQUIRE_EQUAL(sstring("ababa").find_last_of('a',3), 2u);
+ BOOST_REQUIRE_EQUAL(sstring("ababa").find_last_of('x'), sstring::npos);
+ BOOST_REQUIRE_EQUAL(sstring("").find_last_of('a'), sstring::npos);
+}
+
+
+BOOST_AUTO_TEST_CASE(test_append) {
+ BOOST_REQUIRE_EQUAL(sstring("aba").append("1234", 3), "aba123");
+ BOOST_REQUIRE_EQUAL(sstring("aba").append("1234", 4), "aba1234");
+ BOOST_REQUIRE_EQUAL(sstring("aba").append("1234", 0), "aba");
+}
+
+BOOST_AUTO_TEST_CASE(test_replace) {
+ BOOST_REQUIRE_EQUAL(sstring("abc").replace(1,1, "xyz", 1), "axc");
+ BOOST_REQUIRE_EQUAL(sstring("abc").replace(3,2, "xyz", 2), "abcxy");
+ BOOST_REQUIRE_EQUAL(sstring("abc").replace(2,2, "xyz", 2), "abxy");
+ BOOST_REQUIRE_EQUAL(sstring("abc").replace(0,2, "", 0), "c");
+ BOOST_REQUIRE_THROW(sstring("abc").replace(4,1, "xyz", 1), std::out_of_range);
+ const char* s = "xyz";
+ sstring str("abcdef");
+ BOOST_REQUIRE_EQUAL(str.replace(str.begin() + 1 , str.begin() + 3, s + 1, s + 3), "ayzdef");
+ BOOST_REQUIRE_THROW(sstring("abc").replace(4,1, "xyz", 1), std::out_of_range);
+
+}
+
+BOOST_AUTO_TEST_CASE(test_insert) {
+ sstring str("abc");
+ const char* s = "xyz";
+ str.insert(str.begin() +1, s + 1, s + 2);
+ BOOST_REQUIRE_EQUAL(str, "aybc");
+ str = "abc";
+ BOOST_REQUIRE_THROW(str.insert(str.begin() + 5, s + 1, s + 2), std::out_of_range);
+}
+
+BOOST_AUTO_TEST_CASE(test_erase) {
+ sstring str("abcdef");
+ auto i = str.erase(str.begin() + 1, str.begin() + 3);
+ BOOST_REQUIRE_EQUAL(*i, 'd');
+ BOOST_REQUIRE_EQUAL(str, "adef");
+ BOOST_REQUIRE_THROW(str.erase(str.begin() + 5, str.begin() + 6), std::out_of_range);
+}
+
+BOOST_AUTO_TEST_CASE(test_ctor_iterator) {
+ std::list<char> data{{'a', 'b', 'c'}};
+ sstring s(data.begin(), data.end());
+ BOOST_REQUIRE_EQUAL(s, "abc");
+}
diff --git a/src/seastar/tests/unit/stall_detector_test.cc b/src/seastar/tests/unit/stall_detector_test.cc
new file mode 100644
index 00000000..7df0b3aa
--- /dev/null
+++ b/src/seastar/tests/unit/stall_detector_test.cc
@@ -0,0 +1,83 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2018 ScyllaDB Ltd.
+ */
+
+#include <seastar/core/reactor.hh>
+#include <seastar/testing/test_case.hh>
+#include <seastar/testing/thread_test_case.hh>
+#include <atomic>
+#include <chrono>
+
+using namespace seastar;
+using namespace std::chrono_literals;
+
+class temporary_stall_detector_settings {
+ std::chrono::milliseconds _old_threshold;
+ std::function<void ()> _old_report;
+public:
+ temporary_stall_detector_settings(std::chrono::duration<double> threshold, std::function<void ()> report)
+ : _old_threshold(engine().get_blocked_reactor_notify_ms())
+ , _old_report(engine().get_stall_detector_report_function()) {
+ engine().update_blocked_reactor_notify_ms(std::chrono::duration_cast<std::chrono::milliseconds>(threshold));
+ engine().set_stall_detector_report_function(std::move(report));
+ }
+ ~temporary_stall_detector_settings() {
+ engine().update_blocked_reactor_notify_ms(_old_threshold);
+ engine().set_stall_detector_report_function(std::move(_old_report));
+ }
+};
+
+void spin(std::chrono::duration<double> how_much) {
+ auto end = std::chrono::steady_clock::now() + how_much;
+ while (std::chrono::steady_clock::now() < end) {
+ // spin!
+ }
+}
+
+void spin_some_cooperatively(std::chrono::duration<double> how_much) {
+ auto end = std::chrono::steady_clock::now() + how_much;
+ while (std::chrono::steady_clock::now() < end) {
+ spin(200us);
+ if (need_preempt()) {
+ thread::yield();
+ }
+ }
+}
+
+SEASTAR_THREAD_TEST_CASE(normal_case) {
+ std::atomic<unsigned> reports{};
+ temporary_stall_detector_settings tsds(10ms, [&] { ++reports; });
+ spin_some_cooperatively(1s);
+ BOOST_REQUIRE_EQUAL(reports, 0);
+}
+
+SEASTAR_THREAD_TEST_CASE(simple_stalls) {
+ std::atomic<unsigned> reports{};
+ temporary_stall_detector_settings tsds(10ms, [&] { ++reports; });
+ unsigned nr = 10;
+ for (unsigned i = 0; i < nr; ++i) {
+ spin_some_cooperatively(100ms);
+ spin(20ms);
+ }
+ spin_some_cooperatively(100ms);
+ BOOST_REQUIRE_EQUAL(reports, 10);
+}
+
+
diff --git a/src/seastar/tests/unit/test.crl b/src/seastar/tests/unit/test.crl
new file mode 100644
index 00000000..2f8277b8
--- /dev/null
+++ b/src/seastar/tests/unit/test.crl
@@ -0,0 +1,13 @@
+-----BEGIN X509 CRL-----
+MIICDDCB9QIBATANBgkqhkiG9w0BAQsFADCBhDEMMAoGA1UEAxMDQXBhMRMwEQYK
+CZImiZPyLGQBARMDQXBhMQwwCgYDVQQLEwNBcGExDDAKBgNVBAoTA0FwYTEMMAoG
+A1UEBxMDQXBhMQwwCgYDVQQIEwNBcGExCzAJBgNVBAYTAkFQMRowGAYJKoZIhvcN
+AQkBFgthcGFAYXBhLm9yZxgPMjAxNTExMzAxMjUyMjRaGA8yMDI1MTEyNzEyNTIy
+OFowAKA2MDQwHwYDVR0jBBgwFoAU2MdBt0YHNIRXTbna3CWvPm7GbXwwEQYDVR0U
+BAoCCFZcRowkm2s+MA0GCSqGSIb3DQEBCwUAA4IBAQDEk8nRGZb/wQ598wHjdcFT
+bCIQFYorgqH772dAtQZ8takN/0spno3BccnetkldRT38/WqF9t30eKPlOv4ua9en
+7kDspPkwgoSf5kDSZ0WwDdMg8ZksLk7gXr9UvOLiQ5VCcBYQbvbcOFPbqUPEk8Xk
+qNIWhP95iMztn1CKo/rvrzt5skTVnuS30Tccq5xTsYPjVEx/VxK4xcQOick71xJU
+KOyNSjuoT76vhWsROFf0lHFII5VvmD/aCOxMmv0bfIJs1mGSmvAKRVSITiOmcsiS
+JZL11MvYJ/2l/mc4e2oIxlYxjDTdexecJXW/IwZKgleHc1hJ+60ir8+os/j8BkEh
+-----END X509 CRL-----
diff --git a/src/seastar/tests/unit/test.crt b/src/seastar/tests/unit/test.crt
new file mode 100644
index 00000000..395ab386
--- /dev/null
+++ b/src/seastar/tests/unit/test.crt
@@ -0,0 +1,33 @@
+-----BEGIN CERTIFICATE-----
+MIIFzDCCA7QCCQDAICfAgwoXXzANBgkqhkiG9w0BAQUFADCBpzELMAkGA1UEBhMC
+U0UxEjAQBgNVBAgMCVN0b2NraG9sbTESMBAGA1UEBwwJU3RvY2tob2xtMRUwEwYD
+VQQKDAxzY3lsbGFkYi5vcmcxFTATBgNVBAsMDHNjeWxsYWRiLm9yZzEaMBgGA1UE
+AwwRdGVzdC5zY3lsbGFkYi5vcmcxJjAkBgkqhkiG9w0BCQEWF3Bvc3RtYXN0ZXJA
+c2N5bGxhZGIub3JnMB4XDTE1MTIwOTA2MTY0NloXDTI1MTIwNjA2MTY0Nlowgacx
+CzAJBgNVBAYTAlNFMRIwEAYDVQQIDAlTdG9ja2hvbG0xEjAQBgNVBAcMCVN0b2Nr
+aG9sbTEVMBMGA1UECgwMc2N5bGxhZGIub3JnMRUwEwYDVQQLDAxzY3lsbGFkYi5v
+cmcxGjAYBgNVBAMMEXRlc3Quc2N5bGxhZGIub3JnMSYwJAYJKoZIhvcNAQkBFhdw
+b3N0bWFzdGVyQHNjeWxsYWRiLm9yZzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCC
+AgoCggIBAMgUwyxgR/zPrpDj2OE+mCybAN3Dj5Ia3vTk79d9RES9c1mMZL6HMGMg
+fQib7iKoPHVNyT+X6FqvoCASTDoz7xIReVhQMd2U3CFGii2cciRqYbMJyQmGT2K8
+4qs7/apRC+qdqNAUxH9pkv2vG+Zbkliz3V/LGp/sOCKH8+oZN9FFt5kPzS91f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DDF9CUb3ksIsTIYGsYXx2oURK1SOQI6GIMq+cgNI
+weIubGdXAvwPk1sUywUHHIcjW+vu72jTQj0XGxTPGuq+V+eZyaaqP3/FdMB/zK7K
+qmVZe1CwbOhYcjpky+Dw3baynviPLaMO+LShFWgiMMsHBmqsXzoBsZCwk+cD51zc
+-----END CERTIFICATE-----
diff --git a/src/seastar/tests/unit/test.csr b/src/seastar/tests/unit/test.csr
new file mode 100644
index 00000000..6535fd30
--- /dev/null
+++ b/src/seastar/tests/unit/test.csr
@@ -0,0 +1,30 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIIFFjCCAv4CAQAwgacxCzAJBgNVBAYTAlNFMRIwEAYDVQQIDAlTdG9ja2hvbG0x
+EjAQBgNVBAcMCVN0b2NraG9sbTEVMBMGA1UECgwMc2N5bGxhZGIub3JnMRUwEwYD
+VQQLDAxzY3lsbGFkYi5vcmcxGjAYBgNVBAMMEXRlc3Quc2N5bGxhZGIub3JnMSYw
+JAYJKoZIhvcNAQkBFhdwb3N0bWFzdGVyQHNjeWxsYWRiLm9yZzCCAiIwDQYJKoZI
+hvcNAQEBBQADggIPADCCAgoCggIBAMgUwyxgR/zPrpDj2OE+mCybAN3Dj5Ia3vTk
+79d9RES9c1mMZL6HMGMgfQib7iKoPHVNyT+X6FqvoCASTDoz7xIReVhQMd2U3CFG
+ii2cciRqYbMJyQmGT2K84qs7/apRC+qdqNAUxH9pkv2vG+Zbkliz3V/LGp/sOCKH
+8+oZN9FFt5kPzS91fX1UNMZI46wAzQpTJjaY5UniLuCF1iegKEu7s9vxCWj4AJ86
+z2bOc2e1Ef7iHTE/RSldfMWpkb6LZeC2YYcWxMZ9LrCdMEvZaTDT/39Z3L+pVQzB
+MukLXphaQHHsvaqHVzq2R8Nq43GM5yufbb4Y2aCzZUXcfdXFszTZ2KODyr6E/irW
+TZHhWqDMdZCZ1CdH385N6i5ZcRy9UIYrh2mhY0lUcvnAdrloFdyKQBnT4eoZK4ko
+B1KyfhDTKLOo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/seastar/tests/unit/test.key b/src/seastar/tests/unit/test.key
new file mode 100644
index 00000000..315bd89b
--- /dev/null
+++ b/src/seastar/tests/unit/test.key
@@ -0,0 +1,51 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIJKQIBAAKCAgEAyBTDLGBH/M+ukOPY4T6YLJsA3cOPkhre9OTv131ERL1zWYxk
+vocwYyB9CJvuIqg8dU3JP5foWq+gIBJMOjPvEhF5WFAx3ZTcIUaKLZxyJGphswnJ
+CYZPYrziqzv9qlEL6p2o0BTEf2mS/a8b5luSWLPdX8san+w4Iofz6hk30UW3mQ/N
+L3V9fVQ0xkjjrADNClMmNpjlSeIu4IXWJ6AoS7uz2/EJaPgAnzrPZs5zZ7UR/uId
+MT9FKV18xamRvotl4LZhhxbExn0usJ0wS9lpMNP/f1ncv6lVDMEy6QtemFpAcey9
+qodXOrZHw2rjcYznK59tvhjZoLNlRdx91cWzNNnYo4PKvoT+KtZNkeFaoMx1kJnU
+J0ffzk3qLllxHL1QhiuHaaFjSVRy+cB2uWgV3IpAGdPh6hkriSgHUrJ+ENMos6gJ
+JhOPnUeiujQyh5ZCZHTMz2xJUyvv8vOE0aOgNTYb8ld/5omFXjYnZNTEqIdbJCUf
+Cz/dlIZb52hLEjjMwbKBpIJmDFhHQCl4sa5xKV+W6+/0SIZNVg/dwJg5ZNBiTnTv
+TCmKyL7MdOw3VeeicN0X36lHKn++YVzEsxHGjvebg16pDI+if2jVxUdYzHJ6N8qt
+v2Erj1LUA8EBCPO3D2ZgJMo2af7tuEZUIYOH9ALXKOoDeEzB8jUPZX1y4FMCAwEA
+AQKCAgAX29n2Rbjv3bgcUP9AxN0SnJ061KIfMxMZMt+i264zYEAMEqDE04wilfIy
+/50jBtrGxjLUYYH0pnK6wFPUsPK2Pd0xecaofKLPWQELNVerHgBugCE4AIsg5BNH
+hgzWrXl1Tb2eqotQAj/j/mieTJcj+rbQQID5Rwrem0WrybwNOXoOR4MZQLJpKoxs
+hK6ZiTLqI0YwRoU5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HdrzL86
+rrBAUO6ELjqLneDnTGLhlnjc6OsYF9LCaRyigxFlWeNM0V/27/fn8CJMRuQ0Iv+x
+eZzlLW/oTVBL7fvTX8fIa4Q7jWpxyLRuuiJ8GEY7eYhQ8thTRffK5XC2JDu9
+-----END RSA PRIVATE KEY-----
diff --git a/src/seastar/tests/unit/thread_context_switch_test.cc b/src/seastar/tests/unit/thread_context_switch_test.cc
new file mode 100644
index 00000000..c83b95d1
--- /dev/null
+++ b/src/seastar/tests/unit/thread_context_switch_test.cc
@@ -0,0 +1,95 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/*
+ * Copyright (C) 2015 Cloudius Systems, Ltd.
+ */
+
+#include <seastar/core/thread.hh>
+#include <seastar/core/semaphore.hh>
+#include <seastar/core/app-template.hh>
+#include <seastar/core/do_with.hh>
+#include <seastar/core/distributed.hh>
+#include <seastar/core/sleep.hh>
+
+using namespace seastar;
+using namespace std::chrono_literals;
+
+class context_switch_tester {
+ uint64_t _switches{0};
+ semaphore _s1{0};
+ semaphore _s2{0};
+ bool _done1{false};
+ bool _done2{false};
+ thread _t1{[this] { main1(); }};
+ thread _t2{[this] { main2(); }};
+private:
+ void main1() {
+ while (!_done1) {
+ _s1.wait().get();
+ ++_switches;
+ _s2.signal();
+ }
+ _done2 = true;
+ }
+ void main2() {
+ while (!_done2) {
+ _s2.wait().get();
+ ++_switches;
+ _s1.signal();
+ }
+ }
+public:
+ void begin_measurement() {
+ _s1.signal();
+ }
+ future<uint64_t> measure() {
+ _done1 = true;
+ return _t1.join().then([this] {
+ return _t2.join();
+ }).then([this] {
+ return _switches;
+ });
+ }
+ future<> stop() {
+ return make_ready_future<>();
+ }
+};
+
+int main(int ac, char** av) {
+ static const auto test_time = 5s;
+ return app_template().run_deprecated(ac, av, [] {
+ return do_with(distributed<context_switch_tester>(), [] (distributed<context_switch_tester>& dcst) {
+ return dcst.start().then([&dcst] {
+ return dcst.invoke_on_all(&context_switch_tester::begin_measurement);
+ }).then([] {
+ return sleep(test_time);
+ }).then([&dcst] {
+ return dcst.map_reduce0(std::mem_fn(&context_switch_tester::measure), uint64_t(), std::plus<uint64_t>());
+ }).then([] (uint64_t switches) {
+ switches /= smp::count;
+ fmt::print("context switch time: {:5.1f} ns\n",
+ double(std::chrono::duration_cast<std::chrono::nanoseconds>(test_time).count()) / switches);
+ }).then([&dcst] {
+ return dcst.stop();
+ }).then([] {
+ engine_exit(0);
+ });
+ });
+ });
+}
diff --git a/src/seastar/tests/unit/thread_test.cc b/src/seastar/tests/unit/thread_test.cc
new file mode 100644
index 00000000..c4198bd7
--- /dev/null
+++ b/src/seastar/tests/unit/thread_test.cc
@@ -0,0 +1,170 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/*
+ * Copyright (C) 2015 Cloudius Systems, Ltd.
+ */
+
+#include <seastar/core/thread.hh>
+#include <seastar/core/do_with.hh>
+#include <seastar/testing/test_case.hh>
+#include <seastar/core/sstring.hh>
+#include <seastar/core/reactor.hh>
+#include <seastar/core/semaphore.hh>
+#include <seastar/core/do_with.hh>
+#include <seastar/core/future-util.hh>
+#include <seastar/core/sleep.hh>
+
+using namespace seastar;
+using namespace std::chrono_literals;
+
+SEASTAR_TEST_CASE(test_thread_1) {
+ return do_with(sstring(), [] (sstring& x) {
+ auto t1 = new thread([&x] {
+ x = "abc";
+ });
+ return t1->join().then([&x, t1] {
+ BOOST_REQUIRE_EQUAL(x, "abc");
+ delete t1;
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_thread_2) {
+ struct tmp {
+ std::vector<thread> threads;
+ semaphore sem1{0};
+ semaphore sem2{0};
+ int counter = 0;
+ void thread_fn() {
+ sem1.wait(1).get();
+ ++counter;
+ sem2.signal(1);
+ }
+ };
+ return do_with(tmp(), [] (tmp& x) {
+ auto n = 10;
+ for (int i = 0; i < n; ++i) {
+ x.threads.emplace_back(std::bind(&tmp::thread_fn, &x));
+ }
+ BOOST_REQUIRE_EQUAL(x.counter, 0);
+ x.sem1.signal(n);
+ return x.sem2.wait(n).then([&x, n] {
+ BOOST_REQUIRE_EQUAL(x.counter, n);
+ return parallel_for_each(x.threads.begin(), x.threads.end(), std::mem_fn(&thread::join));
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_thread_async) {
+ sstring x = "x";
+ sstring y = "y";
+ auto concat = [] (sstring x, sstring y) {
+ sleep(10ms).get();
+ return x + y;
+ };
+ return async(concat, x, y).then([] (sstring xy) {
+ BOOST_REQUIRE_EQUAL(xy, "xy");
+ });
+}
+
+SEASTAR_TEST_CASE(test_thread_async_immed) {
+ return async([] { return 3; }).then([] (int three) {
+ BOOST_REQUIRE_EQUAL(three, 3);
+ });
+}
+
+SEASTAR_TEST_CASE(test_thread_async_nested) {
+ return async([] {
+ return async([] {
+ return 3;
+ }).get0();
+ }).then([] (int three) {
+ BOOST_REQUIRE_EQUAL(three, 3);
+ });
+}
+
+void compute(float& result, bool& done, uint64_t& ctr) {
+ while (!done) {
+ for (int n = 0; n < 10000; ++n) {
+ result += 1 / (result + 1);
+ ++ctr;
+ }
+ thread::yield();
+ }
+}
+
+SEASTAR_TEST_CASE(test_thread_sched_group) {
+ return async([] {
+ float metered_ratio = 0.2;
+ thread_scheduling_group sched_group(1ms, metered_ratio);
+ float metered_result = 0;
+ float unmetered_result = 0;
+ bool done = false;
+ uint64_t u_ctr = 0, m_ctr = 0;
+ thread unmetered([&] { compute(unmetered_result, done, u_ctr); });
+ thread_attributes metered_thread_attributes;
+ metered_thread_attributes.scheduling_group = &sched_group;
+ thread metered(metered_thread_attributes, [&] { compute(metered_result, done, m_ctr); });
+ sleep(500ms).get();
+ done = true;
+ when_all(metered.join(), unmetered.join()).discard_result().get();
+ auto ratio = float(m_ctr) / (u_ctr + m_ctr);
+#ifndef DEBUG
+ BOOST_REQUIRE(ratio > metered_ratio - 0.05);
+ BOOST_REQUIRE(ratio < metered_ratio + 0.05);
+#else
+ // debug mode is too slow to test this accurately
+ (void)ratio;
+#endif
+ });
+}
+
+#if defined(SEASTAR_ASAN_ENABLED) && defined(SEASTAR_HAVE_ASAN_FIBER_SUPPORT)
+volatile int force_write;
+volatile void* shut_up_gcc;
+
+[[gnu::noinline]]
+void throw_exception() {
+ volatile char buf[1024];
+ shut_up_gcc = &buf;
+ for (int i = 0; i < 1024; i++) {
+ buf[i] = force_write;
+ }
+ throw 1;
+}
+
+[[gnu::noinline]]
+void use_stack() {
+ volatile char buf[2 * 1024];
+ shut_up_gcc = &buf;
+ for (int i = 0; i < 2 * 1024; i++) {
+ buf[i] = force_write;
+ }
+}
+
+SEASTAR_TEST_CASE(test_asan_false_positive) {
+ return async([] {
+ try {
+ throw_exception();
+ } catch (...) {
+ use_stack();
+ }
+ });
+}
+#endif
diff --git a/src/seastar/tests/unit/timer_test.cc b/src/seastar/tests/unit/timer_test.cc
new file mode 100644
index 00000000..5b7f354f
--- /dev/null
+++ b/src/seastar/tests/unit/timer_test.cc
@@ -0,0 +1,105 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2014 Cloudius Systems, Ltd.
+ */
+
+#include <seastar/core/app-template.hh>
+#include <seastar/core/reactor.hh>
+#include <seastar/core/print.hh>
+#include <chrono>
+#include <iostream>
+
+using namespace seastar;
+using namespace std::chrono_literals;
+
+#define BUG() do { \
+ std::cerr << "ERROR @ " << __FILE__ << ":" << __LINE__ << std::endl; \
+ throw std::runtime_error("test failed"); \
+ } while (0)
+
+#define OK() do { \
+ std::cerr << "OK @ " << __FILE__ << ":" << __LINE__ << std::endl; \
+ } while (0)
+
+template <typename Clock>
+struct timer_test {
+ timer<Clock> t1;
+ timer<Clock> t2;
+ timer<Clock> t3;
+ timer<Clock> t4;
+ timer<Clock> t5;
+ promise<> pr1;
+ promise<> pr2;
+
+ future<> run() {
+ t1.set_callback([this] {
+ OK();
+ fmt::print(" 500ms timer expired\n");
+ if (!t4.cancel()) {
+ BUG();
+ }
+ if (!t5.cancel()) {
+ BUG();
+ }
+ t5.arm(1100ms);
+ });
+ t2.set_callback([] { OK(); fmt::print(" 900ms timer expired\n"); });
+ t3.set_callback([] { OK(); fmt::print("1000ms timer expired\n"); });
+ t4.set_callback([] { OK(); fmt::print(" BAD cancelled timer expired\n"); });
+ t5.set_callback([this] { OK(); fmt::print("1600ms rearmed timer expired\n"); pr1.set_value(); });
+
+ t1.arm(500ms);
+ t2.arm(900ms);
+ t3.arm(1000ms);
+ t4.arm(700ms);
+ t5.arm(800ms);
+
+ return pr1.get_future().then([this] { return test_timer_cancelling(); });
+ }
+
+ future<> test_timer_cancelling() {
+ timer<Clock>& t1 = *new timer<Clock>();
+ t1.set_callback([] { BUG(); });
+ t1.arm(100ms);
+ t1.cancel();
+
+ t1.arm(100ms);
+ t1.cancel();
+
+ t1.set_callback([this] { OK(); pr2.set_value(); });
+ t1.arm(100ms);
+ return pr2.get_future().then([&t1] { delete &t1; });
+ }
+};
+
+int main(int ac, char** av) {
+ app_template app;
+ timer_test<steady_clock_type> t1;
+ timer_test<lowres_clock> t2;
+ return app.run_deprecated(ac, av, [&t1, &t2] {
+ fmt::print("=== Start High res clock test\n");
+ t1.run().then([&t2] {
+ fmt::print("=== Start Low res clock test\n");
+ return t2.run();
+ }).then([] {
+ fmt::print("Done\n");
+ engine().exit(0);
+ });
+ });
+}
diff --git a/src/seastar/tests/unit/tls-ca-bundle.pem b/src/seastar/tests/unit/tls-ca-bundle.pem
new file mode 100644
index 00000000..d56c7e67
--- /dev/null
+++ b/src/seastar/tests/unit/tls-ca-bundle.pem
@@ -0,0 +1,4195 @@
+-----BEGIN CERTIFICATE-----
+MIIDpDCCAoygAwIBAgIBATANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEc
+MBoGA1UEChMTQW1lcmljYSBPbmxpbmUgSW5jLjE2MDQGA1UEAxMtQW1lcmljYSBP
+bmxpbmUgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAxMB4XDTAyMDUyODA2
+MDAwMFoXDTM3MTExOTIwNDMwMFowYzELMAkGA1UEBhMCVVMxHDAaBgNVBAoTE0Ft
+ZXJpY2EgT25saW5lIEluYy4xNjA0BgNVBAMTLUFtZXJpY2EgT25saW5lIFJvb3Qg
+Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkgMTCCASIwDQYJKoZIhvcNAQEBBQADggEP
+ADCCAQoCggEBAKgv6KRpBgNHw+kqmP8ZonCaxlCyfqXfaE0bfA+2l2h9LaaLl+lk
+hsmj76CGv2BlnEtUiMJIxUo5vxTjWVXlGbR0yLQFO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dyZ02SUS2jHaGh7c
+KUGRIjxpp7sC8rZcJwOJ9Abqm+RyguOhCcHpABnTPtRwa7pxpqpYrvS76Wy274fM
+m7v/OeZWYdMKp8RcTGB7BXcmer/YB1IsYvdwY9k5vG8cwnncdimvzsUsZAReiDZu
+MdRAGmI0Nj81Aa6sY6A=
+-----END CERTIFICATE-----
diff --git a/src/seastar/tests/unit/tls_test.cc b/src/seastar/tests/unit/tls_test.cc
new file mode 100644
index 00000000..929d2361
--- /dev/null
+++ b/src/seastar/tests/unit/tls_test.cc
@@ -0,0 +1,532 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/*
+ * Copyright (C) 2015 Cloudius Systems, Ltd.
+ */
+
+#include <seastar/core/do_with.hh>
+#include "test_case.hh"
+#include <seastar/core/sstring.hh>
+#include <seastar/core/reactor.hh>
+#include <seastar/core/do_with.hh>
+#include <seastar/core/future-util.hh>
+#include <seastar/core/sharded.hh>
+#include <seastar/core/thread.hh>
+#include <seastar/core/gate.hh>
+#include <seastar/net/tls.hh>
+
+#if 0
+#include <gnutls/gnutls.h>
+
+static void enable_gnutls_logging() {
+ gnutls_global_set_log_level(99);
+ gnutls_global_set_log_function([](int lv, const char * msg) {
+ std::cerr << "GNUTLS (" << lv << ") " << msg << std::endl;
+ });
+}
+#endif
+
+using namespace seastar;
+
+static future<> connect_to_ssl_addr(::shared_ptr<tls::certificate_credentials> certs, ipv4_addr addr) {
+ return tls::connect(certs, addr, "www.google.com").then([](connected_socket s) {
+ return do_with(std::move(s), [](connected_socket& s) {
+ return do_with(s.output(), [&s](auto& os) {
+ static const sstring msg("GET / HTTP/1.0\r\n\r\n");
+ auto f = os.write(msg);
+ return f.then([&s, &os]() mutable {
+ auto f = os.flush();
+ return f.then([&s]() mutable {
+ return do_with(s.input(), [](auto& in) {
+ auto f = in.read();
+ return f.then([](temporary_buffer<char> buf) {
+ // std::cout << buf.get() << std::endl;
+
+ // Avoid passing a nullptr as an argument of strncmp().
+ // If the temporary_buffer is empty (e.g. due to the underlying TCP connection
+ // being reset) passing the buf.get() (which would be a nullptr) to strncmp()
+ // causes a runtime error which masks the actual issue.
+ if (buf) {
+ BOOST_CHECK(strncmp(buf.get(), "HTTP/", 5) == 0);
+ }
+ BOOST_CHECK(buf.size() > 8);
+ });
+ });
+ });
+ }).finally([&os] {
+ return os.close();
+ });
+ });
+ });
+ });
+}
+
+static future<> connect_to_ssl_google(::shared_ptr<tls::certificate_credentials> certs) {
+ auto addr = make_ipv4_address(ipv4_addr("216.58.209.132:443"));
+ return connect_to_ssl_addr(std::move(certs), addr);
+}
+
+SEASTAR_TEST_CASE(test_simple_x509_client) {
+ auto certs = ::make_shared<tls::certificate_credentials>();
+ return certs->set_x509_trust_file("tests/unit/tls-ca-bundle.pem", tls::x509_crt_format::PEM).then([certs]() {
+ return connect_to_ssl_google(certs);
+ });
+}
+
+SEASTAR_TEST_CASE(test_x509_client_with_system_trust) {
+ auto certs = ::make_shared<tls::certificate_credentials>();
+ return certs->set_system_trust().then([certs]() {
+ return connect_to_ssl_google(certs);
+ });
+}
+
+SEASTAR_TEST_CASE(test_x509_client_with_builder_system_trust) {
+ tls::credentials_builder b;
+ b.set_system_trust();
+ return connect_to_ssl_google(b.build_certificate_credentials());
+}
+
+SEASTAR_TEST_CASE(test_x509_client_with_builder_system_trust_multiple) {
+ tls::credentials_builder b;
+ b.set_system_trust();
+ auto creds = b.build_certificate_credentials();
+
+ return parallel_for_each(boost::irange(0, 20), [creds](auto i) { return connect_to_ssl_google(creds); });
+}
+
+SEASTAR_TEST_CASE(test_x509_client_with_priority_strings) {
+ static std::vector<sstring> prios( { "NONE:+VERS-TLS-ALL:+MAC-ALL:+RSA:+AES-128-CBC:+SIGN-ALL:+COMP-NULL",
+ "NORMAL:+ARCFOUR-128", // means normal ciphers plus ARCFOUR-128.
+ "SECURE128:-VERS-SSL3.0:+COMP-DEFLATE", // means that only secure ciphers are enabled, SSL3.0 is disabled, and libz compression enabled.
+ "NONE:+VERS-TLS-ALL:+AES-128-CBC:+RSA:+SHA1:+COMP-NULL:+SIGN-RSA-SHA1",
+ "NONE:+VERS-TLS-ALL:+AES-128-CBC:+ECDHE-RSA:+SHA1:+COMP-NULL:+SIGN-RSA-SHA1:+CURVE-SECP256R1",
+ "SECURE256:+SECURE128",
+ "NORMAL:%COMPAT",
+ "NORMAL:-MD5",
+ "NONE:+VERS-TLS-ALL:+MAC-ALL:+RSA:+AES-128-CBC:+SIGN-ALL:+COMP-NULL",
+ "NORMAL:+ARCFOUR-128",
+ "SECURE128:-VERS-TLS1.0:+COMP-DEFLATE",
+ "SECURE128:+SECURE192:-VERS-TLS-ALL:+VERS-TLS1.2"
+ });
+ return do_for_each(prios, [](const sstring & prio) {
+ tls::credentials_builder b;
+ b.set_system_trust();
+ b.set_priority_string(prio);
+ return connect_to_ssl_google(b.build_certificate_credentials());
+ });
+}
+
+SEASTAR_TEST_CASE(test_x509_client_with_priority_strings_fail) {
+ static std::vector<sstring> prios( { "NONE",
+ "NONE:+CURVE-SECP256R1"
+ });
+ return do_for_each(prios, [](const sstring & prio) {
+ tls::credentials_builder b;
+ b.set_system_trust();
+ b.set_priority_string(prio);
+ return connect_to_ssl_google(b.build_certificate_credentials()).then([] {
+ BOOST_FAIL("Expected exception");
+ }).handle_exception([](auto ep) {
+ // ok.
+ });
+ });
+}
+
+SEASTAR_TEST_CASE(test_failed_connect) {
+ tls::credentials_builder b;
+ b.set_system_trust();
+ return connect_to_ssl_addr(b.build_certificate_credentials(), ipv4_addr()).handle_exception([](auto) {});
+}
+
+SEASTAR_TEST_CASE(test_non_tls) {
+ ::listen_options opts;
+ opts.reuse_address = true;
+ auto addr = ::make_ipv4_address( {0x7f000001, 4712});
+ auto server = engine().listen(addr, opts);
+
+ auto c = server.accept();
+
+ tls::credentials_builder b;
+ b.set_system_trust();
+
+ auto f = connect_to_ssl_addr(b.build_certificate_credentials(), addr);
+
+
+ return c.then([this, f = std::move(f)](::connected_socket s, socket_address) mutable {
+ std::cerr << "Established connection" << std::endl;
+ auto sp = std::make_unique<::connected_socket>(std::move(s));
+ timer<> t([s = std::ref(*sp)] {
+ std::cerr << "Killing server side" << std::endl;
+ s.get() = ::connected_socket();
+ });
+ t.arm(timer<>::clock::now() + std::chrono::seconds(5));
+ return std::move(f).finally([t = std::move(t), sp = std::move(sp)] {});
+ }).handle_exception([server = std::move(server)](auto ep) {
+ std::cerr << "Got expected exception" << std::endl;
+ });
+}
+
+SEASTAR_TEST_CASE(test_abort_accept_before_handshake) {
+ auto certs = ::make_shared<tls::server_credentials>(::make_shared<tls::dh_params>());
+ return certs->set_x509_key_file("tests/unit/test.crt", "tests/unit/test.key", tls::x509_crt_format::PEM).then([certs] {
+ ::listen_options opts;
+ opts.reuse_address = true;
+ auto addr = ::make_ipv4_address( {0x7f000001, 4712});
+ auto server = tls::listen(certs, addr, opts);
+ auto c = server.accept();
+ BOOST_CHECK(!c.available()); // should not be finished
+
+ server.abort_accept();
+
+ return c.then([](auto, auto) { BOOST_FAIL("Should not reach"); }).handle_exception([](auto) {
+ // ok
+ }).finally([server = std::move(server)] {});
+ });
+}
+
+SEASTAR_TEST_CASE(test_abort_accept_after_handshake) {
+ return async([] {
+ auto certs = ::make_shared<tls::server_credentials>(::make_shared<tls::dh_params>());
+ certs->set_x509_key_file("tests/unit/test.crt", "tests/unit/test.key", tls::x509_crt_format::PEM).get();
+
+ ::listen_options opts;
+ opts.reuse_address = true;
+ auto addr = ::make_ipv4_address( {0x7f000001, 4712});
+ auto server = tls::listen(certs, addr, opts);
+ auto sa = server.accept();
+
+ tls::credentials_builder b;
+ b.set_x509_trust_file("tests/unit/catest.pem", tls::x509_crt_format::PEM).get();
+
+ auto c = tls::connect(b.build_certificate_credentials(), addr).get0();
+ server.abort_accept(); // should not affect the socket we got.
+
+ auto s = sa.get0();
+ auto out = c.output();
+ auto in = s.input();
+
+ out.write("apa").get();
+ auto f = out.flush();
+ auto buf = in.read().get0();
+ f.get();
+ BOOST_CHECK(sstring(buf.begin(), buf.end()) == "apa");
+
+ out.close().get();
+ in.close().get();
+ });
+}
+
+SEASTAR_TEST_CASE(test_abort_accept_on_server_before_handshake) {
+ return async([] {
+ ::listen_options opts;
+ opts.reuse_address = true;
+ auto addr = ::make_ipv4_address( {0x7f000001, 4712});
+ auto server = engine().listen(addr, opts);
+ auto sa = server.accept();
+
+ tls::credentials_builder b;
+ b.set_x509_trust_file("tests/unit/catest.pem", tls::x509_crt_format::PEM).get();
+
+ auto creds = b.build_certificate_credentials();
+ auto f = tls::connect(creds, addr);
+
+ server.abort_accept();
+ try {
+ sa.get();
+ } catch (...) {
+ }
+ server = {};
+
+ try {
+ // the connect as such should succeed, but the handshare following it
+ // should not.
+ auto c = f.get0();
+ auto out = c.output();
+ out.write("apa").get();
+ out.flush().get();
+ out.close().get();
+
+ BOOST_FAIL("Expected exception");
+ } catch (...) {
+ // ok
+ }
+ });
+}
+
+
+struct streams {
+ ::connected_socket s;
+ input_stream<char> in;
+ output_stream<char> out;
+
+ streams(::connected_socket cs) : s(std::move(cs)), in(s.input()), out(s.output())
+ {}
+};
+
+static const sstring message = "hej lilla fisk du kan dansa fint";
+
+class echoserver {
+ ::server_socket _socket;
+ ::shared_ptr<tls::server_credentials> _certs;
+ seastar::gate _gate;
+ bool _stopped = false;
+ size_t _size;
+public:
+ echoserver(size_t message_size)
+ : _certs(
+ ::make_shared<tls::server_credentials>(
+ ::make_shared<tls::dh_params>()))
+ , _size(message_size)
+ {}
+
+ future<> listen(socket_address addr, sstring crtfile, sstring keyfile, tls::client_auth ca = tls::client_auth::NONE, sstring trust = {}) {
+ _certs->set_client_auth(ca);
+ auto f = _certs->set_x509_key_file(crtfile, keyfile, tls::x509_crt_format::PEM);
+ if (!trust.empty()) {
+ f = f.then([this, trust = std::move(trust)] {
+ return _certs->set_x509_trust_file(trust, tls::x509_crt_format::PEM);
+ });
+ }
+ return f.then([this, addr] {
+ ::listen_options opts;
+ opts.reuse_address = true;
+
+ _socket = tls::listen(_certs, addr, opts);
+
+ with_gate(_gate, [this] {
+ return _socket.accept().then([this](::connected_socket s, socket_address) {
+ auto strms = ::make_lw_shared<streams>(std::move(s));
+ return repeat([strms, this]() {
+ return strms->in.read_exactly(_size).then([strms](temporary_buffer<char> buf) {
+ if (buf.empty()) {
+ return make_ready_future<stop_iteration>(stop_iteration::yes);
+ }
+ sstring tmp(buf.begin(), buf.end());
+ return strms->out.write(tmp).then([strms]() {
+ return strms->out.flush();
+ }).then([] {
+ return make_ready_future<stop_iteration>(stop_iteration::no);
+ });
+ });
+ }).finally([strms]{
+ return strms->out.close();
+ }).finally([strms]{});
+ }).handle_exception([this](auto ep) {
+ if (_stopped) {
+ return make_ready_future<>();
+ }
+ try {
+ std::rethrow_exception(ep);
+ } catch (tls::verification_error &) {
+ // assume ok
+ return make_ready_future<>();
+ }
+ return make_exception_future(std::move(ep));
+ });
+ });
+ return make_ready_future<>();
+ });
+ }
+
+ future<> stop() {
+ _stopped = true;
+ _socket.abort_accept();
+ return _gate.close().handle_exception([] (std::exception_ptr ignored) { });
+ }
+};
+
+static future<> run_echo_test(sstring message,
+ int loops,
+ sstring trust,
+ sstring name,
+ sstring crt = "tests/unit/test.crt",
+ sstring key = "tests/unit/test.key",
+ tls::client_auth ca = tls::client_auth::NONE,
+ sstring client_crt = {},
+ sstring client_key = {},
+ bool do_read = true
+)
+{
+ static const auto port = 4711;
+
+ auto msg = ::make_shared<sstring>(std::move(message));
+ auto certs = ::make_shared<tls::certificate_credentials>();
+ auto server = ::make_shared<seastar::sharded<echoserver>>();
+ auto addr = ::make_ipv4_address( {0x7f000001, port});
+
+ assert(do_read || loops == 1);
+
+ future<> f = make_ready_future();
+
+ if (!client_crt.empty() && !client_key.empty()) {
+ f = certs->set_x509_key_file(client_crt, client_key, tls::x509_crt_format::PEM);
+ }
+
+ return f.then([=] {
+ return certs->set_x509_trust_file(trust, tls::x509_crt_format::PEM);
+ }).then([=] {
+ return server->start(msg->size()).then([=]() {
+ sstring server_trust;
+ if (ca != tls::client_auth::NONE) {
+ server_trust = trust;
+ }
+ return server->invoke_on_all(&echoserver::listen, addr, crt, key, ca, server_trust);
+ }).then([=] {
+ return tls::connect(certs, addr, name).then([loops, msg, do_read](::connected_socket s) {
+ auto strms = ::make_lw_shared<streams>(std::move(s));
+ auto range = boost::irange(0, loops);
+ return do_for_each(range, [strms, msg, do_read](auto) {
+ auto f = strms->out.write(*msg);
+ return f.then([strms, msg]() {
+ return strms->out.flush().then([strms, msg] {
+ return strms->in.read_exactly(msg->size()).then([msg](temporary_buffer<char> buf) {
+ sstring tmp(buf.begin(), buf.end());
+ BOOST_CHECK(*msg == tmp);
+ });
+ });
+ });
+ }).then_wrapped([strms, do_read] (future<> f1) {
+ // Always call close()
+ return (do_read ? strms->out.close() : make_ready_future<>()).then_wrapped([strms, f1 = std::move(f1)] (future<> f2) mutable {
+ // Verification errors will be reported by the call to output_stream::close(),
+ // which waits for the flush to actually happen. They can also be reported by the
+ // input_stream::read_exactly() call. We want to keep only one and avoid nested exception mess.
+ if (f1.failed()) {
+ f2.handle_exception([] (std::exception_ptr ignored) { });
+ return std::move(f1);
+ }
+ f1.handle_exception([] (std::exception_ptr ignored) { });
+ return std::move(f2);
+ }).finally([strms] { });
+ });
+ });
+ }).finally([server] {
+ return server->stop().finally([server]{});
+ });
+ });
+}
+
+/*
+ * Certificates:
+ *
+ * make -f tests/unit/mkcert.gmk domain=scylladb.org server=test
+ *
+ * -> test.crt
+ * test.csr
+ * catest.pem
+ * catest.key
+ *
+ * catest == snakeoil root authority for these self-signed certs
+ *
+ */
+SEASTAR_TEST_CASE(test_simple_x509_client_server) {
+ // Make sure we load our own auth trust pem file, otherwise our certs
+ // will not validate
+ // Must match expected name with cert CA or give empty name to ignore
+ // server name
+ return run_echo_test(message, 20, "tests/unit/catest.pem", "test.scylladb.org");
+}
+
+
+SEASTAR_TEST_CASE(test_simple_x509_client_server_again) {
+ return run_echo_test(message, 20, "tests/unit/catest.pem", "test.scylladb.org");
+}
+
+SEASTAR_TEST_CASE(test_x509_client_server_cert_validation_fail) {
+ // Load a real trust authority here, which out certs are _not_ signed with.
+ return run_echo_test(message, 1, "tests/unit/tls-ca-bundle.pem", {}).then([] {
+ BOOST_FAIL("Should have gotten validation error");
+ }).handle_exception([](auto ep) {
+ try {
+ std::rethrow_exception(ep);
+ } catch (tls::verification_error&) {
+ // ok.
+ } catch (...) {
+ BOOST_FAIL("Unexpected exception");
+ }
+ });
+}
+
+SEASTAR_TEST_CASE(test_x509_client_server_cert_validation_fail_name) {
+ // Use trust store with our signer, but wrong host name
+ return run_echo_test(message, 1, "tests/unit/tls-ca-bundle.pem", "nils.holgersson.gov").then([] {
+ BOOST_FAIL("Should have gotten validation error");
+ }).handle_exception([](auto ep) {
+ try {
+ std::rethrow_exception(ep);
+ } catch (tls::verification_error&) {
+ // ok.
+ } catch (...) {
+ BOOST_FAIL("Unexpected exception");
+ }
+ });
+}
+
+SEASTAR_TEST_CASE(test_large_message_x509_client_server) {
+ // Make sure we load our own auth trust pem file, otherwise our certs
+ // will not validate
+ // Must match expected name with cert CA or give empty name to ignore
+ // server name
+ sstring msg(sstring::initialized_later(), 512 * 1024);
+ for (size_t i = 0; i < msg.size(); ++i) {
+ msg[i] = '0' + char(i % 30);
+ }
+ return run_echo_test(std::move(msg), 20, "tests/unit/catest.pem", "test.scylladb.org");
+}
+
+SEASTAR_TEST_CASE(test_simple_x509_client_server_fail_client_auth) {
+ // Make sure we load our own auth trust pem file, otherwise our certs
+ // will not validate
+ // Must match expected name with cert CA or give empty name to ignore
+ // server name
+ // Server will require certificate auth. We supply none, so should fail connection
+ return run_echo_test(message, 20, "tests/unit/catest.pem", "test.scylladb.org", "tests/unit/test.crt", "tests/unit/test.key", tls::client_auth::REQUIRE).then([] {
+ BOOST_FAIL("Expected exception");
+ }).handle_exception([](auto ep) {
+ // ok.
+ });
+}
+
+SEASTAR_TEST_CASE(test_simple_x509_client_server_client_auth) {
+ // Make sure we load our own auth trust pem file, otherwise our certs
+ // will not validate
+ // Must match expected name with cert CA or give empty name to ignore
+ // server name
+ // Server will require certificate auth. We supply one, so should succeed with connection
+ return run_echo_test(message, 20, "tests/unit/catest.pem", "test.scylladb.org", "tests/unit/test.crt", "tests/unit/test.key", tls::client_auth::REQUIRE, "tests/unit/test.crt", "tests/unit/test.key");
+}
+
+SEASTAR_TEST_CASE(test_many_large_message_x509_client_server) {
+ // Make sure we load our own auth trust pem file, otherwise our certs
+ // will not validate
+ // Must match expected name with cert CA or give empty name to ignore
+ // server name
+ sstring msg(sstring::initialized_later(), 4 * 1024 * 1024);
+ for (size_t i = 0; i < msg.size(); ++i) {
+ msg[i] = '0' + char(i % 30);
+ }
+ // Sending a huge-ish message a and immediately closing the session (see params)
+ // provokes case where tls::vec_push entered race and asserted on broken IO state
+ // machine.
+ auto range = boost::irange(0, 20);
+ return do_for_each(range, [msg = std::move(msg)](auto) {
+ return run_echo_test(std::move(msg), 1, "tests/unit/catest.pem", "test.scylladb.org", "tests/unit/test.crt", "tests/unit/test.key", tls::client_auth::NONE, {}, {}, false);
+ });
+}
+
diff --git a/src/seastar/tests/unit/tuple_utils_test.cc b/src/seastar/tests/unit/tuple_utils_test.cc
new file mode 100644
index 00000000..6a278f01
--- /dev/null
+++ b/src/seastar/tests/unit/tuple_utils_test.cc
@@ -0,0 +1,99 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright (C) 2017 ScyllaDB
+ */
+
+#define BOOST_TEST_MODULE core
+
+#include <seastar/util/tuple_utils.hh>
+
+#include <boost/test/included/unit_test.hpp>
+
+#include <sstream>
+#include <type_traits>
+
+using namespace seastar;
+
+BOOST_AUTO_TEST_CASE(map) {
+ const auto pairs = tuple_map(std::make_tuple(10, 5.5, true), [](auto&& e) { return std::make_tuple(e, e); });
+
+ BOOST_REQUIRE(pairs == std::make_tuple(std::make_tuple(10, 10),
+ std::make_tuple(5.5, 5.5),
+ std::make_tuple(true, true)));
+}
+
+BOOST_AUTO_TEST_CASE(for_each) {
+ std::ostringstream os;
+
+ tuple_for_each(std::make_tuple('a', 10, false, 5.4), [&os](auto&& e) {
+ os << e;
+ });
+
+ BOOST_REQUIRE_EQUAL(os.str(), "a1005.4");
+}
+
+namespace {
+
+template <typename T>
+struct transform_type final {
+ using type = T;
+};
+
+template <>
+struct transform_type<bool> final { using type = int; };
+
+template <>
+struct transform_type<double> final { using type = char; };
+
+}
+
+BOOST_AUTO_TEST_CASE(map_types) {
+ using before_tuple = std::tuple<double, bool, const char*>;
+ using after_tuple = typename tuple_map_types<transform_type, before_tuple>::type;
+
+ BOOST_REQUIRE((std::is_same<after_tuple, std::tuple<char, int, const char*>>::value));
+}
+
+namespace {
+
+//
+// Strip all `bool` fields.
+//
+
+template <typename>
+struct keep_type final {
+ static constexpr auto value = true;
+};
+
+template <>
+struct keep_type<bool> final {
+ static constexpr auto value = false;
+};
+
+}
+
+BOOST_AUTO_TEST_CASE(filter_by_type) {
+ using before_tuple = std::tuple<bool, int, bool, double, bool, char>;
+
+ const auto t = tuple_filter_by_type<keep_type>(before_tuple{true, 10, false, 5.5, true, 'a'});
+ using filtered_type = typename std::decay<decltype(t)>::type;
+
+ BOOST_REQUIRE((std::is_same<filtered_type, std::tuple<int, double, char>>::value));
+ BOOST_REQUIRE(t == std::make_tuple(10, 5.5, 'a'));
+}
diff --git a/src/seastar/tests/unit/unwind_test.cc b/src/seastar/tests/unit/unwind_test.cc
new file mode 100644
index 00000000..b2f2e7f5
--- /dev/null
+++ b/src/seastar/tests/unit/unwind_test.cc
@@ -0,0 +1,70 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*
+ * Copyright 2016 ScyllaDB
+ */
+
+#define BOOST_TEST_MODULE core
+
+#include <boost/test/included/unit_test.hpp>
+#include <pthread.h>
+#include <seastar/util/defer.hh>
+#include <seastar/core/posix.hh>
+#include <seastar/util/backtrace.hh>
+
+using namespace seastar;
+
+void foo() {
+ throw std::runtime_error("foo");
+}
+
+// Exploits issue #1725
+BOOST_AUTO_TEST_CASE(test_signal_mask_is_preserved_on_unwinding) {
+ sigset_t mask;
+ sigset_t old;
+ sigfillset(&mask);
+ auto res = ::pthread_sigmask(SIG_SETMASK, &mask, &old);
+ throw_pthread_error(res);
+
+ // Check which signals we actually managed to block
+ res = ::pthread_sigmask(SIG_SETMASK, NULL, &mask);
+ throw_pthread_error(res);
+
+ try {
+ foo();
+ } catch (...) {
+ // ignore
+ }
+
+ // Check backtrace()
+ {
+ size_t count = 0;
+ backtrace([&count] (auto) { ++count; });
+ BOOST_REQUIRE(count > 0);
+ }
+
+ {
+ sigset_t mask2;
+ auto res = ::pthread_sigmask(SIG_SETMASK, &old, &mask2);
+ throw_pthread_error(res);
+
+ for (int i = 1; i < NSIG; ++i) {
+ BOOST_REQUIRE(sigismember(&mask2, i) == sigismember(&mask, i));
+ }
+ }
+}
diff --git a/src/seastar/tests/unit/weak_ptr_test.cc b/src/seastar/tests/unit/weak_ptr_test.cc
new file mode 100644
index 00000000..98fdee18
--- /dev/null
+++ b/src/seastar/tests/unit/weak_ptr_test.cc
@@ -0,0 +1,131 @@
+/*
+ * This file is open source software, licensed to you under the terms
+ * of the Apache License, Version 2.0 (the "License"). See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. You may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/*
+ * Copyright 2016 ScyllaDB
+ */
+
+#define BOOST_TEST_MODULE core
+
+#include <boost/test/included/unit_test.hpp>
+#include <seastar/core/weak_ptr.hh>
+
+using namespace seastar;
+
+class myclass : public weakly_referencable<myclass> {};
+
+BOOST_AUTO_TEST_CASE(test_weak_ptr_is_empty_when_default_initialized) {
+ weak_ptr<myclass> wp;
+ BOOST_REQUIRE(!bool(wp));
+}
+
+BOOST_AUTO_TEST_CASE(test_weak_ptr_is_reset) {
+ auto owning_ptr = std::make_unique<myclass>();
+ weak_ptr<myclass> wp = owning_ptr->weak_from_this();
+ BOOST_REQUIRE(bool(wp));
+ BOOST_REQUIRE(&*wp == &*owning_ptr);
+ owning_ptr = {};
+ BOOST_REQUIRE(!bool(wp));
+}
+
+BOOST_AUTO_TEST_CASE(test_weak_ptr_can_be_moved) {
+ auto owning_ptr = std::make_unique<myclass>();
+ weak_ptr<myclass> wp1 = owning_ptr->weak_from_this();
+ weak_ptr<myclass> wp2 = owning_ptr->weak_from_this();
+ weak_ptr<myclass> wp3 = owning_ptr->weak_from_this();
+
+ auto wp3_moved = std::move(wp3);
+ auto wp1_moved = std::move(wp1);
+ auto wp2_moved = std::move(wp2);
+ BOOST_REQUIRE(!bool(wp1));
+ BOOST_REQUIRE(!bool(wp2));
+ BOOST_REQUIRE(!bool(wp3));
+ BOOST_REQUIRE(bool(wp1_moved));
+ BOOST_REQUIRE(bool(wp2_moved));
+ BOOST_REQUIRE(bool(wp3_moved));
+
+ owning_ptr = {};
+
+ BOOST_REQUIRE(!bool(wp1_moved));
+ BOOST_REQUIRE(!bool(wp2_moved));
+ BOOST_REQUIRE(!bool(wp3_moved));
+}
+
+BOOST_AUTO_TEST_CASE(test_multipe_weak_ptrs) {
+ auto owning_ptr = std::make_unique<myclass>();
+
+ weak_ptr<myclass> wp1 = owning_ptr->weak_from_this();
+ BOOST_REQUIRE(bool(wp1));
+ BOOST_REQUIRE(&*wp1 == &*owning_ptr);
+
+ weak_ptr<myclass> wp2 = owning_ptr->weak_from_this();
+ BOOST_REQUIRE(bool(wp2));
+ BOOST_REQUIRE(&*wp2 == &*owning_ptr);
+
+ owning_ptr = {};
+
+ BOOST_REQUIRE(!bool(wp1));
+ BOOST_REQUIRE(!bool(wp2));
+}
+
+BOOST_AUTO_TEST_CASE(test_multipe_weak_ptrs_going_away_first) {
+ auto owning_ptr = std::make_unique<myclass>();
+
+ weak_ptr<myclass> wp1 = owning_ptr->weak_from_this();
+ weak_ptr<myclass> wp2 = owning_ptr->weak_from_this();
+ weak_ptr<myclass> wp3 = owning_ptr->weak_from_this();
+
+ BOOST_REQUIRE(bool(wp1));
+ BOOST_REQUIRE(bool(wp2));
+ BOOST_REQUIRE(bool(wp3));
+
+ wp2 = {};
+
+ owning_ptr = std::make_unique<myclass>();
+
+ BOOST_REQUIRE(!bool(wp1));
+ BOOST_REQUIRE(!bool(wp2));
+ BOOST_REQUIRE(!bool(wp3));
+
+ wp1 = owning_ptr->weak_from_this();
+ wp2 = owning_ptr->weak_from_this();
+ wp3 = owning_ptr->weak_from_this();
+
+ BOOST_REQUIRE(bool(wp1));
+ BOOST_REQUIRE(bool(wp2));
+ BOOST_REQUIRE(bool(wp3));
+
+ wp3 = {};
+ owning_ptr = std::make_unique<myclass>();
+
+ BOOST_REQUIRE(!bool(wp1));
+ BOOST_REQUIRE(!bool(wp2));
+ BOOST_REQUIRE(!bool(wp3));
+
+ wp1 = owning_ptr->weak_from_this();
+ wp2 = owning_ptr->weak_from_this();
+ wp3 = owning_ptr->weak_from_this();
+
+ wp1 = {};
+ wp3 = {};
+ owning_ptr = std::make_unique<myclass>();
+
+ BOOST_REQUIRE(!bool(wp1));
+ BOOST_REQUIRE(!bool(wp2));
+ BOOST_REQUIRE(!bool(wp3));
+}