Skip to content

Commit

Permalink
added debug messages to narrow down output issue in TRAVIS (will be r…
Browse files Browse the repository at this point in the history
…everted later)
  • Loading branch information
divinity666 committed Dec 19, 2020
1 parent 9fcd35f commit 80c26c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/ruby-grafana-reporter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@
end

it 'can properly cancel demo report' do
print 'TODO'
print 'cancel' if ENV['TRAVIS']
expect(@app.config.logger).not_to receive(:error)
url = URI('http://localhost:8033/render?var-template=demo_report_slow')
http = Net::HTTP.new(url.host, url.port)
Expand All @@ -834,6 +834,7 @@
end

it 'can properly create demo pdf report' do
print 'pdf' if ENV['TRAVIS']
expect(@app.config.logger).not_to receive(:error)
url = URI('http://localhost:8033/render?var-template=demo_report')
http = Net::HTTP.new(url.host, url.port)
Expand All @@ -855,6 +856,7 @@
end

it 'can properly create demo html report' do
print 'html' if ENV['TRAVIS']
expect(@app.config.logger).not_to receive(:error)
url = URI('http://localhost:8033/render?var-template=demo_report&convert-backend=html')
http = Net::HTTP.new(url.host, url.port)
Expand Down

0 comments on commit 80c26c4

Please sign in to comment.