Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
markqvist committed Jan 13, 2025
1 parent 330c2aa commit cd0f82d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def test_7_medium_resource(self):
resource_size = 5*1000*1000
data = os.urandom(resource_size)
print("Sending "+self.size_str(resource_size)+" resource...")
resource = RNS.Resource(data, l1, timeout=resource_timeout)
resource = RNS.Resource(data, l1, timeout=resource_timeout, auto_compress=False)
start = time.time()

# This is a hack, don't do it. Use the callbacks instead.
Expand Down Expand Up @@ -380,7 +380,7 @@ def test_9_large_resource(self):
resource_size = 50*1000*1000
data = os.urandom(resource_size)
print("Sending "+self.size_str(resource_size)+" resource...")
resource = RNS.Resource(data, l1, timeout=resource_timeout, callback=self.lr_callback)
resource = RNS.Resource(data, l1, timeout=resource_timeout, callback=self.lr_callback, auto_compress=False)
start = time.time()

TestLink.large_resource_status = resource.status
Expand Down

0 comments on commit cd0f82d

Please sign in to comment.