Skip to content

Commit

Permalink
Increase max timeout in smoke tests to avoid tutorial endpoint slowness
Browse files Browse the repository at this point in the history
  • Loading branch information
LeiGlobus committed Jan 8, 2025
1 parent 61dc09a commit d15b5b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ def pack(self) -> bytes:
f"TID={self.task_id};CID={self.container_id};" # type: ignore
f"{self.task_buffer}"
)
# globus_compute_endpoint/engines/high_throughput/messages.py:109: error: If x = b'abc' then f"{x}" or "{}".format(x) produces "b'abc'", not "abc". If this is desired behavior, use f"{x!r}" or "{!r}".format(x). Otherwise, decode the bytes [str-bytes-safe]

self.raw_buffer = add_ons.encode("utf-8")

return self.type.pack() + self.raw_buffer
Expand Down
2 changes: 1 addition & 1 deletion smoke_tests/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def tutorial_function_id(compute_test_config):

@pytest.fixture
def timeout_s():
return 60
return 300


class LinearBackoff:
Expand Down

0 comments on commit d15b5b3

Please sign in to comment.