Skip to content

Commit

Permalink
Merge pull request #141 from tempesta-tech/ri-typos
Browse files Browse the repository at this point in the history
fix typos found by spellintian
  • Loading branch information
i-rinat authored Sep 30, 2019
2 parents 244f560 + 7d8e17b commit 9567274
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion helpers/dmesg.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def warn_count(self, warn_str):
return self._warn_count(warn_str)

def msg_ratelimited(self, msg):
""" Like previos, but returns binary found/not-found status and takes
""" Like previous, but returns binary found/not-found status and takes
care about ratelimited messages. Returns 0 on success, -1 if msg wasn't
found and 1 if there are no msg and the log is ratelimited.
"""
Expand Down
2 changes: 1 addition & 1 deletion leaks/test_leak.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def drop_caches():
sleep(1)

def file_exists(remote_file):
""" Check existance of file on Tempesta host """
""" Check existence of file on Tempesta host """
check_cmd = "if [ -e %s ]; then echo -n yes; fi" % remote_file
[stdout, stderr] = remote.tempesta.run_cmd(check_cmd)
if stdout != "yes":
Expand Down
2 changes: 1 addition & 1 deletion regression/test_reboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class RebootUnderLoadTest(stress.StressTest):
"""Reboot under constant load"""

restart_cycles = 10
# Override test duration. Mostly there is no sence to load TempestaFW for a
# Override test duration. Mostly there is no sense to load TempestaFW for a
# long time before rebooting it.
restart_timeout = 10
# Timeout before first reboot.
Expand Down
2 changes: 1 addition & 1 deletion tls/handshake.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def send_recv(self, pkt):
sysctl -w net.ipv4.tcp_rmem='16 16 32'
negatively affect the whole system settings (per socket
setting also influenced by the global sysctls) and do
not work with GSO & GRO - a peer still recives large
not work with GSO & GRO - a peer still receives large
frags.
3. iptables --set-mss allows to change SYN packets only.
4. Setting interface MTU also doesn't work properly against
Expand Down
2 changes: 1 addition & 1 deletion tls/test_tls_handshake.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def test_fuzzing(self):
self.start_all()
fuzzer = tls_record_fuzzer()
for _ in xrange(10):
# Only 4 places to inject a pakcet in simple handshake and
# Only 4 places to inject a packet in simple handshake and
# request test.
for inject_rec in xrange(4):
tls_conn = TlsHandshake()
Expand Down
2 changes: 1 addition & 1 deletion tls/test_tls_integrity.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Tests for data integrity transfered via Tempesta TLS.
Tests for data integrity transferred via Tempesta TLS.
"""
from contextlib import contextmanager
import hashlib
Expand Down

0 comments on commit 9567274

Please sign in to comment.