浏览代码

Increase sleep time to assert given exception as UnityEnvironmentException

/MLA-1734-demo-provider
brccabral 4 年前
当前提交
f21a1f85
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ml-agents/mlagents/trainers/tests/test_subprocess_env_manager.py

2
ml-agents/mlagents/trainers/tests/test_subprocess_env_manager.py


# Sleep momentarily to allow time for the EnvManager to be waiting for the
# subprocess response. We won't be able to capture failures from the subprocess
# that cause it to close the pipe before we can send the first message.
time.sleep(0.1)
time.sleep(0.5)
raise UnityEnvironmentException()
env_manager = SubprocessEnvManager(

正在加载...
取消
保存