mirror of
https://github.com/transmission/transmission.git
synced 2026-04-02 08:33:11 +01:00
@@ -147,8 +147,7 @@ void RpcClient::sendNetworkRequest(TrVariantPtr json, QFutureInterface<RpcRespon
|
||||
|
||||
if (verbose_)
|
||||
{
|
||||
qInfo() << "sending"
|
||||
<< "POST" << qPrintable(url_.path());
|
||||
qInfo() << "sending POST " << qPrintable(url_.path());
|
||||
|
||||
for (QByteArray const& b : request_->rawHeaderList())
|
||||
{
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace libtransmission::test
|
||||
|
||||
bool waitFor(struct event_base* event_base, std::chrono::milliseconds msec)
|
||||
{
|
||||
return waitFor(
|
||||
return waitFor( //
|
||||
event_base,
|
||||
[]() { return false; },
|
||||
msec);
|
||||
@@ -566,7 +566,7 @@ TEST_F(DhtTest, usesBootstrapFile)
|
||||
// Confirm that BootstrapNodeName gets pinged first.
|
||||
auto const expected = getSockaddr(BootstrapNodeName, BootstrapNodePort);
|
||||
auto& pinged = mediator.mock_dht_.pinged_;
|
||||
waitFor(
|
||||
waitFor( //
|
||||
event_base_,
|
||||
[&pinged]() { return !std::empty(pinged); },
|
||||
5s);
|
||||
|
||||
@@ -39,7 +39,7 @@ protected:
|
||||
|
||||
void sleepMsec(std::chrono::milliseconds msec)
|
||||
{
|
||||
EXPECT_FALSE(waitFor(
|
||||
EXPECT_FALSE(waitFor( //
|
||||
evbase_.get(),
|
||||
[]() { return false; },
|
||||
msec));
|
||||
|
||||
Reference in New Issue
Block a user