Skip to content

Commit fac544b

Browse files
committed
Fixes ab testing tests
1 parent ce6d2d6 commit fac544b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/features/test_analytics_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def test_ab_testing(self):
2828
days=1)).strftime("%Y-%m-%dT%H:%M:%SZ")
2929

3030
ab_test_name = str(self.index.name)
31-
3231
with self.assertRaises(RequestException) as _:
3332
self.client.get_ab_test('foo')
3433

@@ -51,7 +50,8 @@ def test_ab_testing(self):
5150
self.assertEqual(ab_test['status'], 'active')
5251

5352
found = False
54-
for ab_test in self.client.get_ab_tests()['abtests']:
53+
54+
for ab_test in self.client.get_ab_tests({'limit': 999999})['abtests']:
5555
if ab_test['name'] == ab_test_name:
5656
self.assertEqual(ab_test['endAt'], tomorrow)
5757
self.assertEqual(ab_test['status'], 'active')

tests/run_tests_sync.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
export TEST_TYPE=sync
44
pip uninstall asyncio aiohttp async_timeout
5-
stestr run --concurrency=10
5+
stestr run --concurrency=20

0 commit comments

Comments
 (0)