mirror of
https://github.com/ceph/ceph
synced 2025-02-23 19:17:37 +00:00
Fix s3 tests in the rgw workunit.
Make it possible to set RGW_PORT with ENV variable. Fixes: 7500 Signed-off-by: Warren Usui <warren.usui@inktank.com>
This commit is contained in:
parent
a60e15af8a
commit
9e3b8609cb
@ -53,7 +53,8 @@ my $kruft;
|
||||
my $s3;
|
||||
my $domain = "front.sepia.ceph.com";
|
||||
my $host = get_hostname();
|
||||
our $hostname = "$host.$domain:7280"; # as rgw is running on port 7280
|
||||
my $port = $ENV{RGW_PORT}||7280;
|
||||
our $hostname = "$host.$domain:$port";
|
||||
our $testfileloc;
|
||||
my $rgw_user = "qa_user";
|
||||
|
||||
|
@ -48,7 +48,8 @@ Pod::Usage::pod2usage(-verbose => 1) && exit if ($help);
|
||||
my $s3;
|
||||
my $domain = "front.sepia.ceph.com";
|
||||
my $host = get_hostname();
|
||||
our $hostname = "$host.$domain:7280";
|
||||
my $port = $ENV{RGW_PORT}||7280;
|
||||
our $hostname = "$host.$domain:$port";
|
||||
our $testfileloc;
|
||||
our $mytestfilename;
|
||||
|
||||
|
@ -52,7 +52,8 @@ my $kruft;
|
||||
my $s3;
|
||||
my $domain = "front.sepia.ceph.com";
|
||||
my $host = get_hostname();
|
||||
our $hostname = "$host.$domain:7280";
|
||||
my $port = $ENV{RGW_PORT}||7280;
|
||||
our $hostname = "$host.$domain:$port";
|
||||
our $testfileloc;
|
||||
our $cnt;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user