Actions
Bug #28406
closedSystemStackError: stack level too deep when running tests with mocha 1.10
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Tests
Target version:
-
Description
% bundle exec rake test TEST="test/unit/foreman/http_proxy_test.rb" The Apipie cache is turned off. Enable it and run apipie:cache rake task to speed up API calls. Run options: --seed 37549 # Running: .....E Error: HTTPProxyTest::Excon::Connection extension#test_0002_rescues requests and mentions proxy: SystemStackError: stack level too deep test/unit/foreman/http_proxy_test.rb:120:in `block (2 levels) in <class:HTTPProxyTest>' test/test_helper.rb:68:in `before_setup' bin/rails test test/unit/foreman/http_proxy_test.rb:130 E Error: HTTPProxyTest::Excon::Connection extension#test_0001_set @data[:proxy] to proxy: SystemStackError: stack level too deep test/unit/foreman/http_proxy_test.rb:120:in `block (2 levels) in <class:HTTPProxyTest>' test/test_helper.rb:68:in `before_setup' bin/rails test test/unit/foreman/http_proxy_test.rb:124 ............... Finished in 1.127359s, 19.5146 runs/s, 20.4017 assertions/s. 22 runs, 23 assertions, 0 failures, 2 errors, 0 skips
downgrading mocha to 1.9.0 fixes the issue
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7227 added
Updated by Anonymous about 5 years ago
- Status changed from Ready For Testing to New
- Assignee deleted (
Evgeni Golov) - Fixed in Releases deleted (
2.0.0)
Updated by Evgeni Golov about 5 years ago
- Status changed from New to Closed
Applied in changeset bdf54d4c9fb46cab16b2ac4e6aec767cae568e8b.
Updated by Anonymous about 5 years ago
- Related to Refactor #28638: require mocha 1.11+ added
Actions