Make it possible to set RGW_PORT with ENV variable.
Fixes: 7500
Signed-off-by: Warren Usui <warren.usui@inktank.com>
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";
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;
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;