Skip to content

Commit

Permalink
fix patch again
Browse files Browse the repository at this point in the history
  • Loading branch information
WesleyRosenblum committed Dec 4, 2024
1 parent 47c8c5a commit 4e8b22d
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions .github/interop/runner.patch
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,21 @@ index 4564681..3a28eec 100755
- sys.exit(main())
+ main()
diff --git a/testcases.py b/testcases.py
index fc69e11..6791f6c 100644
index fc69e11..7dafb07 100644
--- a/testcases.py
+++ b/testcases.py
@@ -1239,10 +1239,14 @@ class TestCasePortRebinding(TestCaseTransfer):
@@ -98,6 +98,10 @@ class TestCase(abc.ABC):
"""The name of testcase presented to the endpoint Docker images"""
return self.name()

+ @staticmethod
+ def test_type() -> str:
+ return "TEST"
+
@staticmethod
def scenario() -> str:
"""Scenario for the ns3 simulator"""
@@ -1239,10 +1243,14 @@ class TestCasePortRebinding(TestCaseTransfer):
]
return self._files

Expand All @@ -193,7 +204,7 @@ index fc69e11..6791f6c 100644

def check(self) -> TestResult:
super().check()
@@ -1265,56 +1269,26 @@ class TestCasePortRebinding(TestCaseTransfer):
@@ -1265,56 +1273,26 @@ class TestCasePortRebinding(TestCaseTransfer):
logging.info("Server saw only a single client port in use; test broken?")
return TestResult.FAILED

Expand Down Expand Up @@ -258,7 +269,7 @@ index fc69e11..6791f6c 100644
if hasattr(p["quic"], "path_response.data")
)
)
@@ -1332,6 +1306,10 @@ class TestCaseAddressRebinding(TestCasePortRebinding):
@@ -1332,6 +1310,10 @@ class TestCaseAddressRebinding(TestCasePortRebinding):
def name():
return "rebind-addr"

Expand All @@ -269,16 +280,16 @@ index fc69e11..6791f6c 100644
@staticmethod
def abbreviation():
return "BA"
@@ -1615,7 +1593,7 @@ class MeasurementGoodput(Measurement):
@@ -1615,7 +1597,7 @@ class MeasurementGoodput(Measurement):

@staticmethod
def repetitions() -> int:
- return 5
+ return 1

def get_paths(self):
self._files = [self._generate_random_file(self.FILESIZE)]
@@ -1687,7 +1665,7 @@ TESTCASES = [
@@ -1687,7 +1669,7 @@ TESTCASES = [
TestCaseMultiplexing,
TestCaseRetry,
TestCaseResumption,
Expand All @@ -287,7 +298,7 @@ index fc69e11..6791f6c 100644
TestCaseHTTP3,
TestCaseBlackhole,
TestCaseKeyUpdate,
@@ -1698,12 +1676,11 @@ TESTCASES = [
@@ -1698,12 +1680,11 @@ TESTCASES = [
TestCaseHandshakeCorruption,
TestCaseTransferCorruption,
TestCaseIPv6,
Expand Down

0 comments on commit 4e8b22d

Please sign in to comment.