Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
kurento-test: change config "test.files.url" to "test.player.url"
Browse files Browse the repository at this point in the history
This config param is actually used to provide a generic URL that all
PlayerEndpoint tests should use. So, the new name is more descriptive
and makes much more sense.
  • Loading branch information
j1elo committed Mar 26, 2020
1 parent 6b05fff commit 08d66b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
import static org.kurento.test.config.TestConfiguration.TEST_FILES_MONGO_PROP;
import static org.kurento.test.config.TestConfiguration.TEST_FILES_S3_DEFAULT;
import static org.kurento.test.config.TestConfiguration.TEST_FILES_S3_PROP;
import static org.kurento.test.config.TestConfiguration.TEST_FILES_URL_PROP;
import static org.kurento.test.config.TestConfiguration.TEST_ICE_SERVER_CREDENTIAL_PROPERTY;
import static org.kurento.test.config.TestConfiguration.TEST_ICE_SERVER_URL_PROPERTY;
import static org.kurento.test.config.TestConfiguration.TEST_ICE_SERVER_USERNAME_PROPERTY;
import static org.kurento.test.config.TestConfiguration.TEST_NUMRETRIES_PROPERTY;
import static org.kurento.test.config.TestConfiguration.TEST_NUM_NUMRETRIES_DEFAULT;
import static org.kurento.test.config.TestConfiguration.TEST_PLAYER_URL_PROP;
import static org.kurento.test.config.TestConfiguration.TEST_PRINT_LOG_DEFAULT;
import static org.kurento.test.config.TestConfiguration.TEST_PRINT_LOG_PROP;
import static org.kurento.test.config.TestConfiguration.TEST_PROJECT_PATH_DEFAULT;
Expand Down Expand Up @@ -241,7 +241,7 @@ public static String getRecordUrl(String suffix) {
}

public static String getPlayerUrl(String mediaName) {
String playerUrl = getProperty(TEST_FILES_URL_PROP);
String playerUrl = getProperty(TEST_PLAYER_URL_PROP);
if (playerUrl == null) {
return HTTP + "://" + getTestFilesHttpPath() + mediaName;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,11 @@ public class TestConfiguration {
public static final String TEST_PRINT_LOG_PROP = "test.print.log";
public static final boolean TEST_PRINT_LOG_DEFAULT = true;

public static final String TEST_FILES_URL_PROP = "test.files.url";
public static final String TEST_RECORD_URL_PROP = "test.record.url";
public static final String TEST_RECORD_DEFAULTPATH_PROP = "test.record.defaultpath";

public static final String TEST_PLAYER_URL_PROP = "test.player.url";

public static final String TEST_FILES_DISK_PROP = "test.files.disk";
public static final String TEST_FILES_DISK_DEFAULT = "/var/lib/jenkins/test-files";

Expand Down

0 comments on commit 08d66b8

Please sign in to comment.