Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent test failure #74

Closed
dblock opened this issue Jan 4, 2016 · 0 comments
Closed

Intermittent test failure #74

dblock opened this issue Jan 4, 2016 · 0 comments
Labels

Comments

@dblock
Copy link
Owner

dblock commented Jan 4, 2016

https://travis-ci.org/dblock/slack-gamebot/builds/100226668

  1) SlackGamebot::Commands::Season behaves like season current season returns current season
     Failure/Error: expect(message: "#{SlackRubyBot.config.user} season").to respond_with_slack_message current_season.to_s

       #<SlackRubyBot::Commands::Base (class)> received :send_client_message with unexpected arguments
         expected: (#<SlackRubyBot::Client:0x00000006c4d618 @callbacks={"close"=>[#<Proc:0x00000006c4cfd8@/home/travis/build/dblock/slack-gamebot/vendor/bundle/ruby/2.2.0/gems/slack-ruby-bot-0.5.4/lib/slack-ruby-bot/server.rb:89>], "hello"=>[#<Proc:0x00000006c4ce98@/home/travis/build/dblock/slack-gamebot/vendor/bundle/ruby/2.2.0/gems/slack-ruby-bot-0.5.4/lib/slack-ruby-bot/server.rb:94>], "message"=>[#<Proc:0x00000006c4cdd0@/home/travis/build/dblock/slack-gamebot/vendor/bundle/ruby/2.2.0/gems/slack-ruby-bot-0.5.4/lib/slack-ruby-bot/server.rb:94>], "user_change"=>[#<Proc:0x00000006c4ccb8@/home/travis/build/dblock/slack-gamebot/vendor/bundle/ruby/2.2.0/gems/slack-ruby-bot-0.5.4/lib/slack-ruby-bot/server.rb:94>]}, @token="abc-323", @websocket_ping=30, @websocket_proxy=nil, @concurrency=Slack::RealTime::Concurrency::Eventmachine, @web_client=#<Slack::Web::Client:0x00000006c4d398 @proxy=nil, @user_agent="Slack Ruby Client/0.5.0", @ca_path="/usr/lib/ssl\n", @ca_file="/usr/lib/ssl\n/ca-certificates.crt", @logger=nil, @endpoint="https://slack.com/api/", @token="abc-323">, @aliases=["aliquam"], @send_gifs=true, @team=#<Team _id: 568af2ac2cb4af59a9000a99, created_at: 2016-01-04 22:31:08 UTC, updated_at: 2016-01-04 22:31:08 UTC, team_id: "T326", name: "veniam", domain: nil, token: "abc-323", active: true, gifs: true, aliases: [], game_id: BSON::ObjectId('568af2ac2cb4af59a9000a98')>>, {:channel=>"channel", :text=>"Current: willard_zieme: 1 win, 0 losses (elo: 48), 2 matches, 4 players"})
              got: (#<SlackRubyBot::Client:0x00000006c4d618 @callbacks={"close"=>[#<Proc:0x00000006c4cfd8@/home/travis/build/dblock/slack-gamebot/vendor/bundle/ruby/2.2.0/gems/slack-ruby-bot-0.5.4/lib/slack-ruby-bot/server.rb:89>], "hello"=>[#<Proc:0x00000006c4ce98@/home/travis/build/dblock/slack-gamebot/vendor/bundle/ruby/2.2.0/gems/slack-ruby-bot-0.5.4/lib/slack-ruby-bot/server.rb:94>], "message"=>[#<Proc:0x00000006c4cdd0@/home/travis/build/dblock/slack-gamebot/vendor/bundle/ruby/2.2.0/gems/slack-ruby-bot-0.5.4/lib/slack-ruby-bot/server.rb:94>], "user_change"=>[#<Proc:0x00000006c4ccb8@/home/travis/build/dblock/slack-gamebot/vendor/bundle/ruby/2.2.0/gems/slack-ruby-bot-0.5.4/lib/slack-ruby-bot/server.rb:94>]}, @token="abc-323", @websocket_ping=30, @websocket_proxy=nil, @concurrency=Slack::RealTime::Concurrency::Eventmachine, @web_client=#<Slack::Web::Client:0x00000006c4d398 @proxy=nil, @user_agent="Slack Ruby Client/0.5.0", @ca_path="/usr/lib/ssl\n", @ca_file="/usr/lib/ssl\n/ca-certificates.crt", @logger=nil, @endpoint="https://slack.com/api/", @token="abc-323">, @aliases=["aliquam"], @send_gifs=true, @team=#<Team _id: 568af2ac2cb4af59a9000a99, created_at: 2016-01-04 22:31:08 UTC, updated_at: 2016-01-04 22:31:08 UTC, team_id: "T326", name: "veniam", domain: nil, token: "abc-323", active: true, gifs: true, aliases: [], game_id: BSON::ObjectId('568af2ac2cb4af59a9000a98')>>, {:channel=>"channel", :text=>"Current: bernita.heller: 1 win, 0 losses (elo: 48), 2 matches, 4 players"})
       Diff:
       @@ -1,5 +1,5 @@
        [#<SlackRubyBot::Client:0x00000006c4d618 @callbacks={"close"=>[#<Proc:0x00000006c4cfd8@/home/travis/build/dblock/slack-gamebot/vendor/bundle/ruby/2.2.0/gems/slack-ruby-bot-0.5.4/lib/slack-ruby-bot/server.rb:89>], "hello"=>[#<Proc:0x00000006c4ce98@/home/travis/build/dblock/slack-gamebot/vendor/bundle/ruby/2.2.0/gems/slack-ruby-bot-0.5.4/lib/slack-ruby-bot/server.rb:94>], "message"=>[#<Proc:0x00000006c4cdd0@/home/travis/build/dblock/slack-gamebot/vendor/bundle/ruby/2.2.0/gems/slack-ruby-bot-0.5.4/lib/slack-ruby-bot/server.rb:94>], "user_change"=>[#<Proc:0x00000006c4ccb8@/home/travis/build/dblock/slack-gamebot/vendor/bundle/ruby/2.2.0/gems/slack-ruby-bot-0.5.4/lib/slack-ruby-bot/server.rb:94>]}, @token="abc-323", @websocket_ping=30, @websocket_proxy=nil, @concurrency=Slack::RealTime::Concurrency::Eventmachine, @web_client=#<Slack::Web::Client:0x00000006c4d398 @proxy=nil, @user_agent="Slack Ruby Client/0.5.0", @ca_path="/usr/lib/ssl\n", @ca_file="/usr/lib/ssl\n/ca-certificates.crt", @logger=nil, @endpoint="https://slack.com/api/", @token="abc-323">, @aliases=["aliquam"], @send_gifs=true, @team=#<Team _id: 568af2ac2cb4af59a9000a99, created_at: 2016-01-04 22:31:08 UTC, updated_at: 2016-01-04 22:31:08 UTC, team_id: "T326", name: "veniam", domain: nil, token: "abc-323", active: true, gifs: true, aliases: [], game_id: BSON::ObjectId('568af2ac2cb4af59a9000a98')>>,
         {:channel=>"channel",
          :text=>
       -   "Current: willard_zieme: 1 win, 0 losses (elo: 48), 2 matches, 4 players"}]
       +   "Current: bernita.heller: 1 win, 0 losses (elo: 48), 2 matches, 4 players"}]

     Shared Example Group: "season" called from ./spec/slack-gamebot/commands/season_spec.rb:30
     # ./vendor/bundle/ruby/2.2.0/gems/slack-ruby-bot-0.5.4/lib/slack-ruby-bot/commands/base.rb:8:in `send_message'
     # ./slack-gamebot/commands/season.rb:9:in `call'
@dblock dblock added the bug? label Jan 4, 2016
@dblock dblock closed this as completed in 2d0595a Jan 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant