Use existing variable for GCS test server port.
Also fix incorrect separator comment.
@@ -313,7 +313,7 @@ testRun(void)
hrnCfgArgRawStrId(argList, cfgOptRepoType, STORAGE_GCS_TYPE);
hrnCfgArgRawZ(argList, cfgOptRepoPath, "/");
hrnCfgArgRawZ(argList, cfgOptRepoGcsBucket, TEST_BUCKET);
- hrnCfgArgRawFmt(argList, cfgOptRepoGcsEndpoint, "%s:%u", strZ(hrnServerHost()), hrnServerPort(0));
+ hrnCfgArgRawFmt(argList, cfgOptRepoGcsEndpoint, "%s:%u", strZ(hrnServerHost()), testPort);
hrnCfgArgRawBool(argList, cfgOptRepoStorageVerifyTls, testContainer());
hrnCfgEnvRawZ(cfgOptRepoGcsKey, TEST_KEY_FILE);
harnessCfgLoad(cfgCmdArchivePush, argList);
@@ -829,7 +829,7 @@ testRun(void)
"test3.txt {}\n",
"check");
- // // -----------------------------------------------------------------------------------------------------------------
+ // -----------------------------------------------------------------------------------------------------------------
TEST_TITLE("switch to token auth");
hrnServerScriptClose(service);
