diff options
author | Håvard Pettersen <havardpe@oath.com> | 2022-03-24 14:13:23 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@oath.com> | 2022-03-24 14:13:23 +0000 |
commit | 1e5ea8890c73112e6e6f3fbecf4850ee2671e5b5 (patch) | |
tree | c2fc4e8d3f59ec7ad6fdb14893063bd3aaa5f424 /fnet/src/tests/examples/examples_test.cpp | |
parent | 7d8808a32d70cbf17a45059b4541e350307c01dd (diff) |
remove admin channel concept
Diffstat (limited to 'fnet/src/tests/examples/examples_test.cpp')
-rw-r--r-- | fnet/src/tests/examples/examples_test.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/fnet/src/tests/examples/examples_test.cpp b/fnet/src/tests/examples/examples_test.cpp index b6476311adb..a6c1afc04dd 100644 --- a/fnet/src/tests/examples/examples_test.cpp +++ b/fnet/src/tests/examples/examples_test.cpp @@ -58,7 +58,6 @@ bool run_with_retry(const vespalib::string &cmd) { } TEST("usage") { - EXPECT_FALSE(Process::run("exec ../../examples/proxy/fnet_proxy_app")); EXPECT_FALSE(Process::run("exec ../../examples/ping/fnet_pingserver_app")); EXPECT_FALSE(Process::run("exec ../../examples/ping/fnet_pingclient_app")); EXPECT_FALSE(Process::run("exec ../../examples/frt/rpc/fnet_rpc_client_app")); @@ -107,28 +106,6 @@ TEST_MT_F("ping times out", 2, pid_t(-1)) { } } -TEST_MT_FF("ping with proxy", 3, pid_t(-1), pid_t(-1)) { - if (thread_id == 0) { - Process proc(fmt("exec ../../examples/ping/fnet_pingserver_app tcp/%d", - PORT0), true); - f1 = proc.pid(); - TEST_BARRIER(); - TEST_DO(consume_result(proc)); - } else if (thread_id == 1) { - Process proc(fmt("exec ../../examples/proxy/fnet_proxy_app tcp/%d tcp/localhost:%d", - PORT1, PORT0), true); - f2 = proc.pid(); - TEST_BARRIER(); - TEST_DO(consume_result(proc)); - } else { - TEST_BARRIER(); - EXPECT_TRUE(run_with_retry(fmt("exec ../../examples/ping/fnet_pingclient_app tcp/localhost:%d", - PORT1))); - kill(f1, SIGTERM); - kill(f2, SIGTERM); - } -} - TEST_MT_F("rpc client server", 2, pid_t(-1)) { if (thread_id == 0) { Process proc(fmt("exec ../../examples/frt/rpc/fnet_rpc_server_app tcp/%d", |