fix test TryToAddPacketToInputStream

This commit is contained in:
u2takey 2020-07-02 00:07:23 +08:00
parent 67bd8a2bf0
commit 9c4350db44

View File

@ -375,7 +375,7 @@ TEST_F(CalculatorGraphEventLoopTest, TryToAddPacketToInputStream) {
this, std::placeholders::_1))}, this, std::placeholders::_1))},
{"blocking_mutex", mutex_side_packet}})); {"blocking_mutex", mutex_side_packet}}));
constexpr int kNumInputPackets = 2; constexpr int kNumInputPackets = 20;
constexpr int kMaxQueueSize = 1; constexpr int kMaxQueueSize = 1;
// Lock the mutex so that the BlockingPassThroughCalculator cannot read any of // Lock the mutex so that the BlockingPassThroughCalculator cannot read any of