Skip to content

Commit 4d228be

Browse files
committed
chore: test breaking tests for cloud build reporter
1 parent 751cf41 commit 4d228be

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/schedule_reporter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ name: Schedule Reporter
1616

1717
on:
1818
schedule:
19-
- cron: '0 6 * * *' # Runs at 6 AM every morning
19+
- cron: '30 21 * * *' # Runs at 2:30 PM PT (9:30 PM UTC) every day
2020

2121
jobs:
2222
run_reporter:

tests/system/test_pymysql_connection.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ def test_lazy_pymysql_connection() -> None:
114114
password = os.environ["MYSQL_PASS"]
115115
db = os.environ["MYSQL_DB"]
116116
ip_type = os.environ.get("IP_TYPE", "public")
117+
# test breaking test reporting
118+
if ip_type == "private":
119+
user = os.environ["POSTGRES_USER"]
117120

118121
engine, connector = create_sqlalchemy_engine(
119122
inst_conn_name, user, password, db, ip_type, "lazy"

0 commit comments

Comments
 (0)