Sha256: 0556c8851bbffc77231bf7de70c622a604aeae967bee52a5798f9b4f5db4b343

Contents?: true

Size: 603 Bytes

Versions: 1

Compression:

Stored size: 603 Bytes

Contents

require_relative '../jdbc_spec_helper'

describe 'logstash-output-jdbc: mysql', if: ENV['JDBC_MYSQL_JAR'] do
  include_context 'rspec setup'
  include_context 'when outputting messages'

  let(:jdbc_jar_env) do
    'JDBC_MYSQL_JAR'
  end

  let(:systemd_database_service) do
    'mysql'
  end

  let(:jdbc_settings) do
    {
      'driver_class' => 'com.mysql.jdbc.Driver',
      'connection_string' => 'jdbc:mysql://localhost/logstash?user=logstash&password=logstash',
      'driver_jar_path' => ENV[jdbc_jar_env],
      'statement' => jdbc_statement,
      'max_flush_exceptions' => 1
    }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logstash-output-jdbc-5.4.0 spec/outputs/jdbc_mysql_spec.rb