Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Fix tests by regenerate code #21

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions benchmarks/compare_all_only_get.pl
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@

my $http_host = "http://127.0.0.1:8098";

my $riak_light_client1 =
Riak::Light->new( host => $host_pbc, port => $port_pbc,
timeout_provider => undef );
my $riak_light_client1 = Riak::Light->new(
host => $host_pbc, port => $port_pbc,
timeout_provider => undef
);

$riak_light_client1->put( foo_riak_light1 => key => $hash );

Expand Down
9 changes: 5 additions & 4 deletions benchmarks/compare_all_only_put.pl
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@

my ( $host_pbc, $port_pbc ) = split ':', $ENV{RIAK_PBC_HOST};
my $http_host = $ENV{RIAK_REST_HOST};
my $hash = { baz => 1024, boom => [ 1, 2, 3, 4, 5, 1000, rand(1024) ] };
my $hash = { baz => 1024, boom => [ 1, 2, 3, 4, 5, 1000, rand(1024) ] };

#clients

my $riak_light_client1 =
Riak::Light->new( host => $host_pbc, port => $port_pbc,
timeout_provider => undef );
my $riak_light_client1 = Riak::Light->new(
host => $host_pbc, port => $port_pbc,
timeout_provider => undef
);

$riak_light_client1->put( foo_riak_light1 => key => $hash );

Expand Down
Loading