Skip to content

Commit

Permalink
timeout=15
Browse files Browse the repository at this point in the history
  • Loading branch information
dudizimber committed May 30, 2024
1 parent 3adbea1 commit bbbca5e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/classes/omnistrate_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def _get_token(self):
}
print("Getting token")
response = requests.post(
self.api_url + self.api_sign_in_path, headers=headers, timeout=5
self.api_url + self.api_sign_in_path, headers=headers, timeout=15
)

self._handle_response(response, "Failed to get token")
Expand Down Expand Up @@ -121,7 +121,7 @@ def create(
self.api_url + self.api_path + self.subscription_id_query,
headers=headers,
data=json.dumps(data),
timeout=5,
timeout=15,
)

self._handle_response(response, f"Failed to create instance {name}")
Expand Down Expand Up @@ -153,7 +153,7 @@ def delete(self, wait_for_delete: bool):
+ self.instance_id
+ self.subscription_id_query,
headers=headers,
timeout=5,
timeout=15,
)

self._handle_response(response, f"Failed to delete instance {self.instance_id}")
Expand Down Expand Up @@ -197,7 +197,7 @@ def trigger_failover(
url,
headers=headers,
data=json.dumps(data),
timeout=5,
timeout=15,
)

self._handle_response(
Expand Down Expand Up @@ -226,7 +226,7 @@ def _get_network_topology(self):
+ self.instance_id
+ self.subscription_id_query,
headers=headers,
timeout=5,
timeout=15,
)

self._handle_response(
Expand Down Expand Up @@ -309,7 +309,7 @@ def _get_instance_state(self):
+ self.instance_id
+ self.subscription_id_query,
headers=headers,
timeout=5,
timeout=15,
)

self._handle_response(
Expand Down

0 comments on commit bbbca5e

Please sign in to comment.