Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tools/tests/fp_posters_test.gd
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ func _test_live_flow() -> void:


func _test_default_transport_offline() -> void:
# The checks name the offline guard: force the env, don't lean on the runner's.
var had := OS.get_environment("GRIDFALL_OFFLINE")
OS.set_environment("GRIDFALL_OFFLINE", "1")
var c := _gmi_client(true)
var ic := _image_client(c, null)
var got: Array = []
Expand All @@ -198,6 +201,7 @@ func _test_default_transport_offline() -> void:
check(not got.is_empty() and not got[0].get("provisional", true), "the offline request still gets a final texture")
ic.queue_free()
c.queue_free()
OS.set_environment("GRIDFALL_OFFLINE", had)


func _test_breaker() -> void:
Expand Down