circus-tent / circus

A Process & Socket Manager built with zmq
http://circus.readthedocs.org/
Other
1.55k stars 257 forks source link

fix ci issue #1181

Closed tinylambda closed 2 years ago

tinylambda commented 2 years ago

The CI red x looks ugly, I fix it by:

  1. test_syslog_configuration in test_config.py will sometimes block test_papa_stream on macOS, so skip it on macOS.

  2. test_stderr_stream and test_stdout_stream in circus/tests/test_validate_option.py should just make sure warn just called with the expected argument to avoid infected by other module's warn call. (use mock.assert_xxxx to get more detail information when bad things happened)

  3. change test_resource_watcher_max_cpu max_cpu to 0.001 to be more deterministic.