changing ports only in shared memory and not going to detector/receiver server to change current tcp port

This commit is contained in:
2021-10-06 14:24:57 +02:00
parent fcfbb7040a
commit 34fb823675
7 changed files with 3 additions and 77 deletions

View File

@ -190,7 +190,6 @@ TEST_CASE("rx_tcpport", "[.cmd][.rx]") {
proxy.Call("rx_tcpport", {}, i, GET, oss);
REQUIRE(oss.str() == "rx_tcpport " + std::to_string(port + i) + '\n');
}
REQUIRE_THROWS(proxy.Call("rx_tcpport", {"15"}, -1, PUT));
port = 5754;
proxy.Call("rx_tcpport", {std::to_string(port)}, -1, PUT);
for (int i = 0; i != det.size(); ++i) {