Skip to content

Commit b054542

Browse files
committed
Skip new test on time skipping server
1 parent 54b5fac commit b054542

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/contrib/openai_agents/test_openai.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1931,7 +1931,10 @@ def stream_response(
19311931
raise NotImplementedError()
19321932

19331933

1934-
async def test_heartbeat(client: Client):
1934+
async def test_heartbeat(client: Client, env: WorkflowEnvironment):
1935+
if env.supports_time_skipping:
1936+
pytest.skip("Relies on real timing, skip.")
1937+
19351938
new_config = client.config()
19361939
new_config["plugins"] = [
19371940
openai_agents.OpenAIAgentsPlugin(

0 commit comments

Comments
 (0)