diff --git a/mcrouter/test/MCProcess.py b/mcrouter/test/MCProcess.py index cb8501cf..c9a2d909 100644 --- a/mcrouter/test/MCProcess.py +++ b/mcrouter/test/MCProcess.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import errno import os diff --git a/mcrouter/test/McrouterTestCase.py b/mcrouter/test/McrouterTestCase.py index 76a2d8f6..1d74179f 100644 --- a/mcrouter/test/McrouterTestCase.py +++ b/mcrouter/test/McrouterTestCase.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import os import time import unittest diff --git a/mcrouter/test/mock_servers.py b/mcrouter/test/mock_servers.py index 90e19acc..10028cb9 100644 --- a/mcrouter/test/mock_servers.py +++ b/mcrouter/test/mock_servers.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import errno import socket diff --git a/mcrouter/test/test_additional_fields.py b/mcrouter/test/test_additional_fields.py index 222cc265..81621547 100644 --- a/mcrouter/test/test_additional_fields.py +++ b/mcrouter/test/test_additional_fields.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_allow_only_gets.py b/mcrouter/test/test_allow_only_gets.py index e8cee702..83fed1d3 100644 --- a/mcrouter/test/test_allow_only_gets.py +++ b/mcrouter/test/test_allow_only_gets.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time from mcrouter.test.MCProcess import Memcached diff --git a/mcrouter/test/test_ascii_error.py b/mcrouter/test/test_ascii_error.py index a485c5ba..8bfb28ed 100644 --- a/mcrouter/test/test_ascii_error.py +++ b/mcrouter/test/test_ascii_error.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_ascii_multiget_mock.py b/mcrouter/test/test_ascii_multiget_mock.py index bdad6949..6713f65f 100644 --- a/mcrouter/test/test_ascii_multiget_mock.py +++ b/mcrouter/test/test_ascii_multiget_mock.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import MockMemcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_async_files.py b/mcrouter/test/test_async_files.py index 87ce1846..fcfc399b 100644 --- a/mcrouter/test/test_async_files.py +++ b/mcrouter/test/test_async_files.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import json import os diff --git a/mcrouter/test/test_async_files_attr.py b/mcrouter/test/test_async_files_attr.py index 962e9be2..208201c8 100644 --- a/mcrouter/test/test_async_files_attr.py +++ b/mcrouter/test/test_async_files_attr.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import importlib.resources import json diff --git a/mcrouter/test/test_axonlog.py b/mcrouter/test/test_axonlog.py index 5bd93026..feeaf5d0 100644 --- a/mcrouter/test/test_axonlog.py +++ b/mcrouter/test/test_axonlog.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.McrouterTestCase import McrouterTestCase from mcrouter.test.mock_servers import DeadServer diff --git a/mcrouter/test/test_bad_params.py b/mcrouter/test/test_bad_params.py index e6ce606c..d4ac6beb 100644 --- a/mcrouter/test/test_bad_params.py +++ b/mcrouter/test/test_bad_params.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import re import signal import socket diff --git a/mcrouter/test/test_bigvalue.py b/mcrouter/test/test_bigvalue.py index 701913f5..b6e165bb 100644 --- a/mcrouter/test/test_bigvalue.py +++ b/mcrouter/test/test_bigvalue.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_bucketized_poolroute.py b/mcrouter/test/test_bucketized_poolroute.py index 0b877779..85967c8a 100644 --- a/mcrouter/test/test_bucketized_poolroute.py +++ b/mcrouter/test/test_bucketized_poolroute.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_carbonlookaside_route.py b/mcrouter/test/test_carbonlookaside_route.py index c4b0666f..aa1cb6ee 100644 --- a/mcrouter/test/test_carbonlookaside_route.py +++ b/mcrouter/test/test_carbonlookaside_route.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import os import queue import tempfile diff --git a/mcrouter/test/test_config_params.py b/mcrouter/test/test_config_params.py index 9df81d9d..8f6599a2 100644 --- a/mcrouter/test/test_config_params.py +++ b/mcrouter/test/test_config_params.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import tempfile import time diff --git a/mcrouter/test/test_const_shard_hash.py b/mcrouter/test/test_const_shard_hash.py index f51cf4b2..ad6f861e 100644 --- a/mcrouter/test/test_const_shard_hash.py +++ b/mcrouter/test/test_const_shard_hash.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_custom_failover.py b/mcrouter/test/test_custom_failover.py index e24213bf..74174518 100644 --- a/mcrouter/test/test_custom_failover.py +++ b/mcrouter/test/test_custom_failover.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_debug_fifos.py b/mcrouter/test/test_debug_fifos.py index bc310ef6..4f57dcc1 100644 --- a/mcrouter/test/test_debug_fifos.py +++ b/mcrouter/test/test_debug_fifos.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import os import time diff --git a/mcrouter/test/test_deterministic_failover.py b/mcrouter/test/test_deterministic_failover.py index e9e81669..9b0a6f55 100644 --- a/mcrouter/test/test_deterministic_failover.py +++ b/mcrouter/test/test_deterministic_failover.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time from mcrouter.test.MCProcess import Mcrouter diff --git a/mcrouter/test/test_dump_config.py b/mcrouter/test/test_dump_config.py index 9f0990ce..d5a5517c 100644 --- a/mcrouter/test/test_dump_config.py +++ b/mcrouter/test/test_dump_config.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import os import shutil import time diff --git a/mcrouter/test/test_empty_pool.py b/mcrouter/test/test_empty_pool.py index 36dc3c4d..d04413a2 100644 --- a/mcrouter/test/test_empty_pool.py +++ b/mcrouter/test/test_empty_pool.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_flush_all.py b/mcrouter/test/test_flush_all.py index 58f80cfa..abc0412f 100644 --- a/mcrouter/test/test_flush_all.py +++ b/mcrouter/test/test_flush_all.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time from mcrouter.test.MCProcess import MockMemcached diff --git a/mcrouter/test/test_largeobj.py b/mcrouter/test/test_largeobj.py index d054237c..711e5258 100644 --- a/mcrouter/test/test_largeobj.py +++ b/mcrouter/test/test_largeobj.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.McrouterTestCase import McrouterTestCase from mcrouter.test.mock_servers import StoreServer diff --git a/mcrouter/test/test_latency_injection_route.py b/mcrouter/test/test_latency_injection_route.py index c7f59193..f1eeedd6 100644 --- a/mcrouter/test/test_latency_injection_route.py +++ b/mcrouter/test/test_latency_injection_route.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from datetime import datetime from mcrouter.test.MCProcess import Memcached diff --git a/mcrouter/test/test_lease_pairing.py b/mcrouter/test/test_lease_pairing.py index 3ce2bc32..04807ffa 100644 --- a/mcrouter/test/test_lease_pairing.py +++ b/mcrouter/test/test_lease_pairing.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import McrouterClients, Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_linenumbers.py b/mcrouter/test/test_linenumbers.py index 2156001e..a832920b 100644 --- a/mcrouter/test/test_linenumbers.py +++ b/mcrouter/test/test_linenumbers.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import signal import subprocess import tempfile diff --git a/mcrouter/test/test_loadbalancer_route.py b/mcrouter/test/test_loadbalancer_route.py index cf2a0e59..3af0ca8f 100644 --- a/mcrouter/test/test_loadbalancer_route.py +++ b/mcrouter/test/test_loadbalancer_route.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Mcrouter, MockMemcachedDual from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_logging_route.py b/mcrouter/test/test_logging_route.py index 97d1646d..abe43874 100644 --- a/mcrouter/test/test_logging_route.py +++ b/mcrouter/test/test_logging_route.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_logical_routing_policies.py b/mcrouter/test/test_logical_routing_policies.py index 5e38d143..1255aee3 100644 --- a/mcrouter/test/test_logical_routing_policies.py +++ b/mcrouter/test/test_logical_routing_policies.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import * from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_max_shadow_requests.py b/mcrouter/test/test_max_shadow_requests.py index 0ee351c0..145737c5 100644 --- a/mcrouter/test/test_max_shadow_requests.py +++ b/mcrouter/test/test_max_shadow_requests.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time from mcrouter.test.MCProcess import Memcached diff --git a/mcrouter/test/test_mcpiper.py b/mcrouter/test/test_mcpiper.py index 04cae523..13522d23 100644 --- a/mcrouter/test/test_mcpiper.py +++ b/mcrouter/test/test_mcpiper.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time diff --git a/mcrouter/test/test_mcrefill.py b/mcrouter/test/test_mcrefill.py index e9402744..ec6bb28e 100644 --- a/mcrouter/test/test_mcrefill.py +++ b/mcrouter/test/test_mcrefill.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_mcrouter.py b/mcrouter/test/test_mcrouter.py index 3c24220c..d17d7ae0 100644 --- a/mcrouter/test/test_mcrouter.py +++ b/mcrouter/test/test_mcrouter.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time diff --git a/mcrouter/test/test_mcrouter_basic.py b/mcrouter/test/test_mcrouter_basic.py index 16fde5f8..c92ae9b6 100644 --- a/mcrouter/test/test_mcrouter_basic.py +++ b/mcrouter/test/test_mcrouter_basic.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time from threading import Thread diff --git a/mcrouter/test/test_mcrouter_errors.py b/mcrouter/test/test_mcrouter_errors.py index 7f6bdb5d..6a062ea2 100644 --- a/mcrouter/test/test_mcrouter_errors.py +++ b/mcrouter/test/test_mcrouter_errors.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import errno import re import socket diff --git a/mcrouter/test/test_mcrouter_processing_time.py b/mcrouter/test/test_mcrouter_processing_time.py index e7d181a0..7e7a77be 100644 --- a/mcrouter/test/test_mcrouter_processing_time.py +++ b/mcrouter/test/test_mcrouter_processing_time.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import json import os import tempfile diff --git a/mcrouter/test/test_mcrouter_sanity_mock.py b/mcrouter/test/test_mcrouter_sanity_mock.py index c0d81665..a6d73287 100644 --- a/mcrouter/test/test_mcrouter_sanity_mock.py +++ b/mcrouter/test/test_mcrouter_sanity_mock.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import random diff --git a/mcrouter/test/test_mcrouter_serialized.py b/mcrouter/test/test_mcrouter_serialized.py index c5904970..09f2aab7 100644 --- a/mcrouter/test/test_mcrouter_serialized.py +++ b/mcrouter/test/test_mcrouter_serialized.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time diff --git a/mcrouter/test/test_mcrouter_states.py b/mcrouter/test/test_mcrouter_states.py index 437a38c1..544bcdcc 100644 --- a/mcrouter/test/test_mcrouter_states.py +++ b/mcrouter/test/test_mcrouter_states.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time from mcrouter.test.MCProcess import McrouterClient, Memcached diff --git a/mcrouter/test/test_mcrouter_to_mcrouter_tko.py b/mcrouter/test/test_mcrouter_to_mcrouter_tko.py index 07a0cf45..4511b805 100644 --- a/mcrouter/test/test_mcrouter_to_mcrouter_tko.py +++ b/mcrouter/test/test_mcrouter_to_mcrouter_tko.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import re import time diff --git a/mcrouter/test/test_memcache_router.py b/mcrouter/test/test_memcache_router.py index 2b3e83f8..3e3274db 100644 --- a/mcrouter/test/test_memcache_router.py +++ b/mcrouter/test/test_memcache_router.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_migrated_failover.py b/mcrouter/test/test_migrated_failover.py index 0e382eeb..342928de 100644 --- a/mcrouter/test/test_migrated_failover.py +++ b/mcrouter/test/test_migrated_failover.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_miss_on_error_arith_ops.py b/mcrouter/test/test_miss_on_error_arith_ops.py index 86ea7918..528ad9d5 100644 --- a/mcrouter/test/test_miss_on_error_arith_ops.py +++ b/mcrouter/test/test_miss_on_error_arith_ops.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.McrouterTestCase import McrouterTestCase from mcrouter.test.mock_servers import CustomErrorServer diff --git a/mcrouter/test/test_modify_exptime.py b/mcrouter/test/test_modify_exptime.py index 0c5f6118..e16479b2 100644 --- a/mcrouter/test/test_modify_exptime.py +++ b/mcrouter/test/test_modify_exptime.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time from mcrouter.test.MCProcess import Memcached diff --git a/mcrouter/test/test_modify_key.py b/mcrouter/test/test_modify_key.py index 5e932bfd..76854a38 100644 --- a/mcrouter/test/test_modify_key.py +++ b/mcrouter/test/test_modify_key.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time from mcrouter.test.MCProcess import Memcached diff --git a/mcrouter/test/test_named_handles.py b/mcrouter/test/test_named_handles.py index a5b2d1bb..132b919d 100644 --- a/mcrouter/test/test_named_handles.py +++ b/mcrouter/test/test_named_handles.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_noreply.py b/mcrouter/test/test_noreply.py index 91030c83..36c78ea2 100644 --- a/mcrouter/test/test_noreply.py +++ b/mcrouter/test/test_noreply.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_operation_selector_route.py b/mcrouter/test/test_operation_selector_route.py index 7e4b8879..f3cfc939 100644 --- a/mcrouter/test/test_operation_selector_route.py +++ b/mcrouter/test/test_operation_selector_route.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_poolstats.py b/mcrouter/test/test_poolstats.py index 794d4163..6b089f6a 100644 --- a/mcrouter/test/test_poolstats.py +++ b/mcrouter/test/test_poolstats.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import os import time diff --git a/mcrouter/test/test_probe_timeout.py b/mcrouter/test/test_probe_timeout.py index c9b48a5c..507c0c9c 100644 --- a/mcrouter/test/test_probe_timeout.py +++ b/mcrouter/test/test_probe_timeout.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import shutil import time diff --git a/mcrouter/test/test_rendezvous_failover.py b/mcrouter/test/test_rendezvous_failover.py index beb83219..b19ad8fd 100644 --- a/mcrouter/test/test_rendezvous_failover.py +++ b/mcrouter/test/test_rendezvous_failover.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time from mcrouter.test.MCProcess import Mcrouter diff --git a/mcrouter/test/test_routing_group_route.py b/mcrouter/test/test_routing_group_route.py index 0d501741..f747b928 100644 --- a/mcrouter/test/test_routing_group_route.py +++ b/mcrouter/test/test_routing_group_route.py @@ -3,6 +3,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_routing_prefixes.py b/mcrouter/test/test_routing_prefixes.py index 419022f3..914f7e51 100644 --- a/mcrouter/test/test_routing_prefixes.py +++ b/mcrouter/test/test_routing_prefixes.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time diff --git a/mcrouter/test/test_send_to_all_hosts.py b/mcrouter/test/test_send_to_all_hosts.py index ffcd1134..26c5c5e0 100644 --- a/mcrouter/test/test_send_to_all_hosts.py +++ b/mcrouter/test/test_send_to_all_hosts.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_service_info.py b/mcrouter/test/test_service_info.py index d0f8a484..82916dbe 100644 --- a/mcrouter/test/test_service_info.py +++ b/mcrouter/test/test_service_info.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_shadow.py b/mcrouter/test/test_shadow.py index cccf64a9..d69531ad 100644 --- a/mcrouter/test/test_shadow.py +++ b/mcrouter/test/test_shadow.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time from mcrouter.test.MCProcess import Memcached diff --git a/mcrouter/test/test_shadow_route.py b/mcrouter/test/test_shadow_route.py index 888135b0..901af6a0 100644 --- a/mcrouter/test/test_shadow_route.py +++ b/mcrouter/test/test_shadow_route.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time diff --git a/mcrouter/test/test_shadow_with_file.py b/mcrouter/test/test_shadow_with_file.py index 5489b88b..0b1c1651 100644 --- a/mcrouter/test/test_shadow_with_file.py +++ b/mcrouter/test/test_shadow_with_file.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from time import sleep from mcrouter.test.MCProcess import Mcrouter, Memcached diff --git a/mcrouter/test/test_shard_splits.py b/mcrouter/test/test_shard_splits.py index b546a1e6..70d04e75 100644 --- a/mcrouter/test/test_shard_splits.py +++ b/mcrouter/test/test_shard_splits.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time from mcrouter.test.MCProcess import Memcached diff --git a/mcrouter/test/test_slow_warmup.py b/mcrouter/test/test_slow_warmup.py index cd733590..6f2bab0f 100644 --- a/mcrouter/test/test_slow_warmup.py +++ b/mcrouter/test/test_slow_warmup.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.MCProcess import Memcached from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_stats.py b/mcrouter/test/test_stats.py index 4a7a7be3..4ef35078 100644 --- a/mcrouter/test/test_stats.py +++ b/mcrouter/test/test_stats.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from mcrouter.test.McrouterTestCase import McrouterTestCase from mcrouter.test.mock_servers import CustomErrorServer, SleepServer diff --git a/mcrouter/test/test_tko_inactive.py b/mcrouter/test/test_tko_inactive.py index 4b2d5190..a6f0713e 100644 --- a/mcrouter/test/test_tko_inactive.py +++ b/mcrouter/test/test_tko_inactive.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time from mcrouter.test.McrouterTestCase import McrouterTestCase diff --git a/mcrouter/test/test_tko_reconfigure.py b/mcrouter/test/test_tko_reconfigure.py index 1e0d6368..d55296c1 100644 --- a/mcrouter/test/test_tko_reconfigure.py +++ b/mcrouter/test/test_tko_reconfigure.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import shutil import tempfile import time diff --git a/mcrouter/test/test_validate_config.py b/mcrouter/test/test_validate_config.py index e75be114..29266489 100644 --- a/mcrouter/test/test_validate_config.py +++ b/mcrouter/test/test_validate_config.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import socket import time import unittest diff --git a/mcrouter/test/test_warmup.py b/mcrouter/test/test_warmup.py index b0acbc73..cf3967f1 100644 --- a/mcrouter/test/test_warmup.py +++ b/mcrouter/test/test_warmup.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time from mcrouter.test.MCProcess import Memcached diff --git a/mcrouter/test/test_warmup2.py b/mcrouter/test/test_warmup2.py index 9c9b992d..ee65295e 100644 --- a/mcrouter/test/test_warmup2.py +++ b/mcrouter/test/test_warmup2.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + import time diff --git a/mcrouter/test/test_wch3.py b/mcrouter/test/test_wch3.py index 2e61ffbd..50767794 100644 --- a/mcrouter/test/test_wch3.py +++ b/mcrouter/test/test_wch3.py @@ -4,6 +4,8 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +# pyre-unsafe + from collections import defaultdict