Created
August 15, 2011 20:32
-
-
Save hannahwhy/1147770 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ bundle exec cucumber -f pretty features/cas_proxy.feature:18 | |
| Using the default profile... | |
| @cas @no_jruby | |
| Feature: CAS proxy authentication | |
| Background: # features/cas_proxy.feature:4 | |
| SQL (0.5ms) SELECT name | |
| FROM sqlite_master | |
| WHERE type = 'table' AND NOT name = 'sqlite_sequence' | |
| SQL (0.1ms) SELECT version FROM schema_migrations | |
| Migrating to CreateInitialStructure (1) | |
| Given I have a CAS server that accepts these usernames and passwords: # features/step_definitions/setup_steps.rb:27 | |
| | username | password | | |
| | mr296 | br0wn | | |
| And I have an aker-protected RESTful API using # features/step_definitions/setup_steps.rb:76 | |
| | ui_mode | api_modes | authority | | |
| | cas | cas_proxy | cas | | |
| And I have an aker-protected consumer of a CAS-protected API # features/step_definitions/setup_steps.rb:99 | |
| And I have logged into CAS using "mr296" / "br0wn" # features/step_definitions/cas_steps.rb:1 | |
| @no_19 | |
| Scenario: A user can do concurrent proxied requests # features/cas_proxy.feature:19 | |
| When I do concurrent requests on an API-using resource # features/step_definitions/http_steps.rb:34 | |
| Timeout::Error (Timeout::Error) | |
| /Users/davidyip/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/protocol.rb:140:in `rescue in rbuf_fill' | |
| /Users/davidyip/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/protocol.rb:134:in `rbuf_fill' | |
| /Users/davidyip/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil' | |
| /Users/davidyip/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/protocol.rb:126:in `readline' | |
| /Users/davidyip/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:2219:in `read_status_line' | |
| /Users/davidyip/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:2208:in `read_new' | |
| /Users/davidyip/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:1191:in `transport_request' | |
| /Users/davidyip/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:1177:in `request' | |
| ./features/support/mechanize_test.rb:35:in `get' | |
| ./features/step_definitions/http_steps.rb:63:in `/^I do concurrent requests on an API\-using resource$/' | |
| features/cas_proxy.feature:20:in `When I do concurrent requests on an API-using resource' | |
| Then each response should contain the results of the API call # features/step_definitions/http_steps.rb:108 | |
| Failing Scenarios: | |
| cucumber features/cas_proxy.feature:19 # Scenario: A user can do concurrent proxied requests | |
| 1 scenario (1 failed) | |
| 6 steps (1 failed, 1 skipped, 4 passed) | |
| 1m5.558s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment