Skip to content

Commit

Permalink
chore: see if this fixes the segfault in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
markphelps committed Dec 8, 2023
1 parent 472ca6c commit 4a91731
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion flipt-client-ruby/loadtest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
clients = []

NUM_CLIENTS.times do
clients << Flipt::EvaluationClient.new("default", {url: FLIPT_URL})
clients << Flipt::EvaluationClient.new("default", {url: FLIPT_URL, auth_token: "secret"})
end

# capture start time
Expand Down
9 changes: 0 additions & 9 deletions flipt-client-ruby/spec/evaluation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,6 @@
require_relative '../lib/evaluation'

RSpec.describe Flipt::EvaluationClient do
describe '#initialize' do
it 'initializes the engine' do
url = ENV.fetch('FLIPT_URL', 'http://localhost:8080')
auth_token = ENV.fetch('FLIPT_AUTH_TOKEN', 'secret')
client = Flipt::EvaluationClient.new('default', { url: url, auth_token: auth_token })
expect(client).to be_a(Flipt::EvaluationClient)
end
end

describe '#evaluate_variant' do
it 'returns a variant result' do
url = ENV.fetch('FLIPT_URL', 'http://localhost:8080')
Expand Down

0 comments on commit 4a91731

Please sign in to comment.