Skip to content

Commit 438b5a9

Browse files
committed
Update database host
1 parent 2530de2 commit 438b5a9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

invisible_cities/database/db_connection.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def connect_sqlite(dbfile):
1313

1414
@mark.skip(reason='server timeouts cause too many spurious test failures')
1515
def connect_mysql(dbname):
16-
conn_mysql = pymysql.connect(host="neutrinos1.ific.uv.es",
16+
conn_mysql = pymysql.connect(host="next.ific.uv.es",
1717
user='nextreader',passwd='readonly', db=dbname)
1818
cursor_mysql = conn_mysql .cursor()
1919
return connect_mysql, cursor_mysql

invisible_cities/database/download_test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_create_table_sqlite(dbname, output_tmpdir):
2020
table = 'PmtBlr'
2121

2222
connSqlite = sqlite3.connect(dbfile)
23-
connMySql = pymysql.connect(host="neutrinos1.ific.uv.es",
23+
connMySql = pymysql.connect(host="next.ific.uv.es",
2424
user='nextreader',passwd='readonly', db=dbname)
2525

2626
cursorMySql = connMySql .cursor()
@@ -41,7 +41,7 @@ def test_table_assignment(dbname):
4141

4242
@mark.parametrize('dbname', db.dbnames)
4343
def test_tables_exist(dbname):
44-
connMySql = pymysql.connect(host="neutrinos1.ific.uv.es",
44+
connMySql = pymysql.connect(host="next.ific.uv.es",
4545
user='nextreader',passwd='readonly', db=dbname)
4646

4747
cursor = connMySql.cursor()

0 commit comments

Comments
 (0)