From 7e3ccba939d0559416bb84dde699830c6700a8fe Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 2 Apr 2011 20:07:18 +0000 Subject: [PATCH] don't log stats alerts in web seed unit test --- test/test_web_seed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_web_seed.cpp b/test/test_web_seed.cpp index b33df2543..ed1ccee18 100644 --- a/test/test_web_seed.cpp +++ b/test/test_web_seed.cpp @@ -56,7 +56,7 @@ void test_transfer(boost::intrusive_ptr torrent_file session_settings settings; settings.max_queued_disk_bytes = 256 * 1024; ses.set_settings(settings); - ses.set_alert_mask(~alert::progress_notification); + ses.set_alert_mask(~(alert::progress_notification | alert::stats_notification)); ses.listen_on(std::make_pair(51000, 52000)); error_code ec; remove_all("./tmp2_web_seed", ec);