Sha256: fba9e8b44fd28366ae5b9c45e3246681c605f817003112c04a5ffaf1e82019f3
Contents?: true
Size: 731 Bytes
Versions: 4
Compression:
Stored size: 731 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 "" 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
4 entries across 4 versions & 1 rubygems