Skip to content

Commit

Permalink
Add missing Pyre mode headers] [batch:35/1460] [shard:23/N]
Browse files Browse the repository at this point in the history
Differential Revision: D66952720

fbshipit-source-id: 797e7c1f76ee280c08b3699ecdc2e62f719dab10
  • Loading branch information
generatedunixname89002005307016 authored and facebook-github-bot committed Dec 9, 2024
1 parent d4991b4 commit e10ed6b
Show file tree
Hide file tree
Showing 67 changed files with 134 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mcrouter/test/MCProcess.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/McrouterTestCase.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/mock_servers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_additional_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_allow_only_gets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_ascii_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_ascii_multiget_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_async_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_async_files_attr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_axonlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_bad_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_bigvalue.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_bucketized_poolroute.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_carbonlookaside_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_config_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_const_shard_hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_custom_failover.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_debug_fifos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_deterministic_failover.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_dump_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_empty_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_flush_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_largeobj.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_latency_injection_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_lease_pairing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_linenumbers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_loadbalancer_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_logging_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_logical_routing_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_max_shadow_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_mcpiper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_mcrefill.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_mcrouter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_mcrouter_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_mcrouter_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_mcrouter_processing_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_mcrouter_sanity_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_mcrouter_serialized.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_mcrouter_states.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_mcrouter_to_mcrouter_tko.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_memcache_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_migrated_failover.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_miss_on_error_arith_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions mcrouter/test/test_modify_exptime.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit e10ed6b

Please sign in to comment.