File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
test/integration/models/database Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,12 @@ def make_full_postgres_engine_config():
104
104
track_functions = "all" ,
105
105
wal_sender_timeout = 60000 ,
106
106
wal_writer_delay = 200 ,
107
+ # # not valid
108
+ # pg_partman_bgw_interval=30,
109
+ # pg_partman_bgw_role="asdf",
110
+ # pg_stat_monitor_pgsm_enable_query_plan=True,
111
+ # pg_stat_monitor_pgsm_max_buckets=2,
112
+ # pg_stat_statements_track="asdf",
107
113
),
108
114
pg_stat_monitor_enable = True ,
109
115
shared_buffers_percentage = 25.0 ,
Original file line number Diff line number Diff line change @@ -171,9 +171,7 @@ def test_update_mysql_engine_config(
171
171
):
172
172
db = mysql_db_with_engine_config
173
173
174
- updated_label = get_test_label () + "cool"
175
174
db .updates .day_of_week = 2
176
- db .label = updated_label
177
175
db .engine_config = MySQLDatabaseConfigOptions (
178
176
mysql = MySQLDatabaseConfigMySQLOptions (connect_timeout = 50 ),
179
177
binlog_retention_period = 880 ,
@@ -192,7 +190,6 @@ def test_update_mysql_engine_config(
192
190
193
191
database = test_linode_client .load (MySQLDatabase , db .id )
194
192
195
- assert database .label == updated_label
196
193
assert database .updates .day_of_week == 2
197
194
assert database .engine_config .mysql .connect_timeout == 50
198
195
assert database .engine_config .binlog_retention_period == 880
@@ -299,12 +296,6 @@ def test_create_postgres_with_engine_config(
299
296
actual_config = db .engine_config .pg
300
297
expected_config = make_full_postgres_engine_config ().pg .__dict__
301
298
302
- print (actual_config )
303
-
304
- print ("ssssss" )
305
-
306
- print (expected_config )
307
-
308
299
for key , expected_value in expected_config .items ():
309
300
actual_value = getattr (actual_config , key , None )
310
301
assert (
You can’t perform that action at this time.
0 commit comments