treasure-data / serverengine

A framework to implement robust multiprocess servers like Unicorn
Apache License 2.0
759 stars 86 forks source link

Migrate CI to GitHub Actions #109

Closed ashie closed 3 years ago

ashie commented 3 years ago

A few tests are failed on Windows while they aren't reproduced on my local environment:

https://github.com/ashie/serverengine/runs/1908715681?check_suite_focus=true

Failures:

  1) ServerEngine::BlockingFlag wait_for_set timeout
     Failure/Error: elapsed.should >= 0.01
       expected: >= 0.01
            got:    0.009496
     # ./spec/blocking_flag_spec.rb:26:in `block (2 levels) in <top (required)>'

  2) ServerEngine::BlockingFlag wait_for_reset timeout
     Failure/Error: elapsed.should >= 0.01
       expected: >= 0.01
            got:    0.009987
     # ./spec/blocking_flag_spec.rb:37:in `block (2 levels) in <top (required)>'

  3) ServerEngine::Daemon run and graceful stop by pipe
     Failure/Error: test_state(:server_initialize).should == 1
       expected: 1
            got: 0 (using ==)
     # ./spec/daemon_spec.rb:65:in `block (2 levels) in <top (required)>'

  4) ServerEngine::Supervisor when using pipe as command_sender start and graceful stop
     Failure/Error: test_state(:server_before_run).should == 1
       expected: 1
            got: 0 (using ==)
     # ./spec/supervisor_spec.rb:86:in `block (4 levels) in <top (required)>'
ashie commented 3 years ago

Some tests are unstable especially on windows as I described before. I'm now considering how to make stable them.

ashie commented 3 years ago

Move to #110