spec/embulk/input/jira_api/client_spec.rb in embulk-input-jira-0.2.1 vs spec/embulk/input/jira_api/client_spec.rb in embulk-input-jira-0.2.2

- old
+ new

@@ -126,16 +126,17 @@ describe "invalid JSON response" do let(:block) { proc{ MultiJson.load("<title>#{title}</title>")} } before { allow(Embulk.logger).to receive(:warn) } - context "Unauthorized" do - let(:title) { "Unauthorized (401)" } - - it do - expect { subject }.to raise_error(Embulk::ConfigError) - end - end + # Disable this test to enable retry for 401 + # context "Unauthorized" do + # let(:title) { "Unauthorized (401)" } + # + # it do + # expect { subject }.to raise_error(Embulk::ConfigError) + # end + # end context "Unavailable" do let(:title) { "Atlassian Cloud Notifications - Page Unavailable"} it do