Sha256: e50f3d31691c6e9e9c6c8d63c8488f46b9a3cef98cedeecbc597d44f00f010de
Contents?: true
Size: 737 Bytes
Versions: 10
Compression:
Stored size: 737 Bytes
Contents
require "helper" require "fluent/plugin/out_jfrog_send_metrics.rb" class JfrogSendMetricsOutputTest < Test::Unit::TestCase setup do Fluent::Test.setup end test "failure" do #flunk end private # Default configuration for tests CONFIG = %( target_platform "NEWRELIC" apikey "apiKey" url "https://metric-api.newrelic.com/metric/v1" ) def create_driver(conf) Fluent::Test::Driver::Output.new(Fluent::Plugin::JfrogSendMetricsOutput).configure(conf) end sub_test_case 'Testing' do test 'Testing plugin jfrog_send_metrics' do d = create_driver(CONFIG) begin d.run rescue StandardError => e raise "Test failed due to #{e}" end end end end
Version data entries
10 entries across 10 versions & 1 rubygems