Skip to content

Commit c5fc626

Browse files
committed
Change db env names
1 parent f5e73d5 commit c5fc626

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ env:
1515
- CACHE_DIR=$HOME/.cache
1616
- MAVEN_HOME=/usr/local/maven
1717
- MAVEN_CFG=$HOME/.m2
18-
- API_DB_URL="127.0.0.1:1521:XE"
19-
- API_DB_USER=api
20-
- API_DB_PASS=api
18+
- DB_URL="127.0.0.1:1521:XE"
19+
- DB_USER=app
20+
- DB_PASS=app
2121
matrix:
2222
- ORACLE_VERSION="11g-xe-r2" DOCKER_OPTIONS="--shm-size=1g"
2323

.travis/install_utplsql.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ docker cp ./create_api_user.sh $ORACLE_VERSION:/create_api_user.sh
2828

2929
# Remove temporary files.
3030
# rm $UTPLSQL_FILE.tar.gz
31+
rm -rf $UTPLSQL_FILE
3132
rm install.sh.tmp
3233

3334
# Execute the utPLSQL installation inside the container.

src/test/java/io/github/utplsql/api/rules/DatabaseRule.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ public class DatabaseRule extends ExternalResource {
1818
private static String sPass;
1919

2020
static {
21-
sUrl = System.getenv("API_DB_URL") != null ? System.getenv("API_DB_URL") : "127.0.0.1:1521:XE";
22-
sUser = System.getenv("API_DB_USER") != null ? System.getenv("API_DB_USER") : "app";
23-
sPass = System.getenv("API_DB_PASS") != null ? System.getenv("API_DB_PASS") : "app";
21+
sUrl = System.getenv("DB_URL") != null ? System.getenv("DB_URL") : "192.168.99.100:1521:XE";
22+
sUser = System.getenv("DB_USER") != null ? System.getenv("DB_USER") : "app";
23+
sPass = System.getenv("DB_PASS") != null ? System.getenv("DB_PASS") : "app";
2424
}
2525

2626
private List<Connection> connectionList;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy