Skip to content

Commit 29abc0a

Browse files
supersmoAce Nassri
andauthored
fix: update post so retries are actually performed (GoogleCloudPlatform#8023)
* Fix post so retries are actually performed * Attempt to fix license * Nits * Revert whitespace Co-authored-by: Ace Nassri <anassri@google.com>
1 parent 3dd97be commit 29abc0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/helloworld/sample_http_test_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 220 Google LLC
1+
# Copyright 2020 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the 'License');
44
# you may not use this file except in compliance with the License.
@@ -47,7 +47,7 @@ def test_args():
4747
session.mount(BASE_URL, retry_adapter)
4848

4949
name = str(uuid.uuid4())
50-
res = requests.post(
50+
res = session.post(
5151
BASE_URL,
5252
json={'name': name}
5353
)

0 commit comments

Comments
 (0)