forked from felixonmars/archriscv-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix check fail, upstreamed to aws-crt-python: awslabs/aws-crt-python#535
- Loading branch information
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/test/__init__.py b/test/__init__.py | ||
index 4b2d44e..50d9313 100644 | ||
--- a/test/__init__.py | ||
+++ b/test/__init__.py | ||
@@ -14,7 +14,7 @@ from awscrt.io import init_logging, LogLevel | ||
import unittest | ||
import sys | ||
|
||
-TIMEOUT = 10.0 | ||
+TIMEOUT = 30.0 | ||
|
||
|
||
class NativeResourceTest(unittest.TestCase): | ||
diff --git a/test/test_http_client.py b/test/test_http_client.py | ||
index a9cb459..b9f413a 100644 | ||
--- a/test/test_http_client.py | ||
+++ b/test/test_http_client.py | ||
@@ -359,7 +359,7 @@ class TestClient(NativeResourceTest): | ||
stream.activate() | ||
|
||
# wait for stream to complete (use long timeout, it's a big file) | ||
- stream_completion_result = stream.completion_future.result(60) | ||
+ stream_completion_result = stream.completion_future.result(80) | ||
|
||
# check result | ||
self.assertEqual(200, response.status_code) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- PKGBUILD | ||
+++ PKGBUILD | ||
@@ -29,7 +29,8 @@ source=("git+https://github.com/awslabs/aws-crt-python.git#tag=$_tag" | ||
"git+https://github.com/awslabs/aws-c-sdkutils" | ||
"git+https://github.com/awslabs/aws-checksums" | ||
"git+https://github.com/awslabs/aws-lc" | ||
- "git+https://github.com/awslabs/s2n") | ||
+ "git+https://github.com/awslabs/s2n" | ||
+ "fix-timeout.patch") | ||
sha256sums=('SKIP' | ||
'SKIP' | ||
'SKIP' | ||
@@ -43,7 +44,8 @@ sha256sums=('SKIP' | ||
'SKIP' | ||
'SKIP' | ||
'SKIP' | ||
- 'SKIP') | ||
+ 'SKIP' | ||
+ 'add2574f4e5a6a079a8513be38a4372da1f6d0e2450f79022e6430f2894c2620') | ||
|
||
pkgver() { | ||
cd $_pkgname | ||
@@ -52,6 +54,7 @@ pkgver() { | ||
|
||
prepare() { | ||
cd $_pkgname | ||
+ patch -Np1 -i $srcdir/fix-timeout.patch | ||
|
||
# https://github.com/awslabs/aws-crt-python/blob/v$pkgver/.gitmodules | ||
git submodule init |