Skip to content

Commit

Permalink
Revert "Test fixes"
Browse files Browse the repository at this point in the history
This reverts commit 6b45942.
  • Loading branch information
configcat-developer committed Nov 15, 2018
1 parent 26583fc commit c1705a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configcatclienttests/test_autopollingcachepolicy.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_updated_values(self):
cache_policy = AutoPollingCachePolicy(config_fetcher, config_cache, 2, 5, None)
config = cache_policy.get()
self.assertEqual(config, 10)
time.sleep(3.0)
time.sleep(2.200)
config = cache_policy.get()
self.assertEqual(config, 20)
cache_policy.stop()
Expand Down Expand Up @@ -87,7 +87,7 @@ def test_stop(self):
cache_policy.stop()
config = cache_policy.get()
self.assertEqual(config, 10)
time.sleep(3.0)
time.sleep(2.200)
config = cache_policy.get()
self.assertEqual(config, 10)
cache_policy.stop()
Expand All @@ -97,7 +97,7 @@ def test_rerun(self):
config_cache = InMemoryConfigCache()
cache_policy = AutoPollingCachePolicy(config_fetcher, config_cache, 2, 5, None)
cache_policy.run()
time.sleep(3.0)
time.sleep(2.200)
self.assertEqual(config_fetcher.get_call_count, 2)
cache_policy.stop()

Expand Down

0 comments on commit c1705a0

Please sign in to comment.