Compare commits
7 Commits
cpp23
...
fix-kafka-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5370fd0f6 | ||
|
|
307f7e1827 | ||
|
|
1ad87927b7 | ||
|
|
0a39b6d838 | ||
|
|
cec19c4b54 | ||
|
|
0d5e8cd9d8 | ||
|
|
2a404c81a0 |
@@ -9,12 +9,12 @@
|
|||||||
# by the Apache License, Version 2.0, included in the file
|
# by the Apache License, Version 2.0, included in the file
|
||||||
# licenses/APL.txt.
|
# licenses/APL.txt.
|
||||||
|
|
||||||
|
import time
|
||||||
|
from multiprocessing import Manager, Process, Value
|
||||||
|
|
||||||
import mgclient
|
import mgclient
|
||||||
import pytest
|
import pytest
|
||||||
import time
|
|
||||||
|
|
||||||
from mg_utils import mg_sleep_and_assert
|
from mg_utils import mg_sleep_and_assert
|
||||||
from multiprocessing import Manager, Process, Value
|
|
||||||
|
|
||||||
# These are the indices of the different values in the result of SHOW STREAM
|
# These are the indices of the different values in the result of SHOW STREAM
|
||||||
# query
|
# query
|
||||||
@@ -442,7 +442,7 @@ def test_start_stream_with_batch_limit(connection, stream_creator, messages_send
|
|||||||
messages_sender(1)
|
messages_sender(1)
|
||||||
|
|
||||||
# We check that the stream has correctly stoped.
|
# We check that the stream has correctly stoped.
|
||||||
assert not mg_sleep_and_assert(False, is_running)
|
assert not mg_sleep_and_assert(False, is_running, 60, 0.5)
|
||||||
|
|
||||||
|
|
||||||
def test_start_stream_with_batch_limit_timeout(connection, stream_creator):
|
def test_start_stream_with_batch_limit_timeout(connection, stream_creator):
|
||||||
|
|||||||
Reference in New Issue
Block a user