Skip to content

Commit

Permalink
try changing timeout to 120
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Dec 15, 2023
1 parent f6cf571 commit 979ff98
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions test/uplink/packages/instance/bootstrap_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ defmodule Uplink.Packages.Instance.BootstrapTest do
"GET",
"/1.0/operations/#{create_instance_operation_id}/wait",
fn conn ->
assert %{"timeout" => "120"} = conn.query_params
assert %{"timeout" => "600"} = conn.query_params

conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
Expand Down Expand Up @@ -161,7 +161,7 @@ defmodule Uplink.Packages.Instance.BootstrapTest do
"GET",
"/1.0/operations/#{start_instance_operation_id}/wait",
fn conn ->
assert %{"timeout" => "120"} = conn.query_params
assert %{"timeout" => "600"} = conn.query_params

conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
Expand Down Expand Up @@ -282,7 +282,7 @@ defmodule Uplink.Packages.Instance.BootstrapTest do
"GET",
"/1.0/operations/#{start_instance_operation_id}/wait",
fn conn ->
%{"timeout" => "120"} = conn.query_params
%{"timeout" => "600"} = conn.query_params

conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
Expand Down Expand Up @@ -370,7 +370,7 @@ defmodule Uplink.Packages.Instance.BootstrapTest do
"GET",
"/1.0/operations/#{create_instance_operation_id}/wait",
fn conn ->
assert %{"timeout" => "120"} = conn.query_params
assert %{"timeout" => "600"} = conn.query_params

conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
Expand Down Expand Up @@ -401,7 +401,7 @@ defmodule Uplink.Packages.Instance.BootstrapTest do
"GET",
"/1.0/operations/#{start_instance_operation_id}/wait",
fn conn ->
assert %{"timeout" => "120"} = conn.query_params
assert %{"timeout" => "600"} = conn.query_params

conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
Expand Down Expand Up @@ -522,7 +522,7 @@ defmodule Uplink.Packages.Instance.BootstrapTest do
"GET",
"/1.0/operations/#{start_instance_operation_id}/wait",
fn conn ->
%{"timeout" => "120"} = conn.query_params
%{"timeout" => "600"} = conn.query_params

conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
Expand Down Expand Up @@ -598,7 +598,7 @@ defmodule Uplink.Packages.Instance.BootstrapTest do
"GET",
"/1.0/operations/#{create_instance_operation_id}/wait",
fn conn ->
assert %{"timeout" => "120"} = conn.query_params
assert %{"timeout" => "600"} = conn.query_params

conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
Expand Down Expand Up @@ -752,7 +752,7 @@ defmodule Uplink.Packages.Instance.BootstrapTest do
"GET",
"/1.0/operations/#{start_instance_operation_id}/wait",
fn conn ->
assert %{"timeout" => "120"} = conn.query_params
assert %{"timeout" => "600"} = conn.query_params

conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
Expand Down
4 changes: 2 additions & 2 deletions test/uplink/packages/instance/cleanup_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ defmodule Uplink.Packages.Instance.CleanupTest do
"GET",
"/1.0/operations/#{stop_instance_operation_id}/wait",
fn conn ->
assert %{"timeout" => "120"} = conn.query_params
assert %{"timeout" => "600"} = conn.query_params

conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
Expand Down Expand Up @@ -208,7 +208,7 @@ defmodule Uplink.Packages.Instance.CleanupTest do
"GET",
"/1.0/operations/#{delete_instance_operation_id}/wait",
fn conn ->
assert %{"timeout" => "120"} = conn.query_params
assert %{"timeout" => "600"} = conn.query_params

conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
Expand Down
4 changes: 2 additions & 2 deletions test/uplink/packages/instance/install_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ defmodule Uplink.Packages.Instance.InstallTest do
"GET",
"/1.0/operations/#{start_instance_operation_id}/wait",
fn conn ->
assert %{"timeout" => "120"} = conn.query_params
assert %{"timeout" => "600"} = conn.query_params

conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
Expand Down Expand Up @@ -225,7 +225,7 @@ defmodule Uplink.Packages.Instance.InstallTest do
"GET",
"/1.0/operations/#{exec_instance_operation_id}/wait",
fn conn ->
assert %{"timeout" => "120"} = conn.query_params
assert %{"timeout" => "600"} = conn.query_params

conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
Expand Down
6 changes: 3 additions & 3 deletions test/uplink/packages/instance/upgrade_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ defmodule Uplink.Packages.Instance.UpgradeTest do
"GET",
"/1.0/operations/#{exec_instance_operation_id}/wait",
fn conn ->
assert %{"timeout" => "120"} = conn.query_params
assert %{"timeout" => "600"} = conn.query_params

conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
Expand Down Expand Up @@ -315,7 +315,7 @@ defmodule Uplink.Packages.Instance.UpgradeTest do
"GET",
"/1.0/operations/#{exec_instance_operation_id}/wait",
fn conn ->
assert %{"timeout" => "120"} = conn.query_params
assert %{"timeout" => "600"} = conn.query_params

conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
Expand Down Expand Up @@ -447,7 +447,7 @@ defmodule Uplink.Packages.Instance.UpgradeTest do
"GET",
"/1.0/operations/#{exec_instance_operation_id}/wait",
fn conn ->
assert %{"timeout" => "120"} = conn.query_params
assert %{"timeout" => "600"} = conn.query_params

conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
Expand Down

0 comments on commit 979ff98

Please sign in to comment.