Skip to content

Commit 730dce6

Browse files
committed
test(ci): run the tests in pl-waw
1 parent 219bead commit 730dce6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import os
22
from pathlib import Path
33

4-
from scaleway_core.bridge.region import REGION_FR_PAR
4+
from scaleway_core.bridge import region
55

6-
DEFAULT_REGION = REGION_FR_PAR
6+
DEFAULT_REGION = region.REGION_PL_WAW
77
SCALEWAY_API_URL = "https://api.scaleway.com/"
88
SCALEWAY_FNC_API_URL = SCALEWAY_API_URL + f"functions/v1beta1/regions/{DEFAULT_REGION}"
99

tests/integrations/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def get_deployed_functions_by_name(client: Client, app_instance: Serverless):
5454
return {function.name: function for function in deployed_functions}
5555

5656

57-
def trigger_function(domain_name: str, max_retries: int = 20) -> requests.Response:
57+
def trigger_function(domain_name: str, max_retries: int = 10) -> requests.Response:
5858
url = f"https://{domain_name}"
5959
session = requests.Session()
6060
retries = Retry(

0 commit comments

Comments
 (0)