Skip to content

Commit d46fe40

Browse files
committed
Remove all changes; confirm timeout is resolved
1 parent d86b0ce commit d46fe40

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/bwc/test_upgrade.py

-13
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ def _do_upgrade(self,
246246
c.execute(CREATE_ANALYZER)
247247
c.execute(CREATE_DOC_TABLE)
248248
c.execute(CREATE_PARTED_TABLE)
249-
c.execute(CREATE_DYNAMIC_TABLE)
250249

251250
c.execute("DROP USER IF EXISTS trillian")
252251
c.execute("CREATE USER trillian")
@@ -312,18 +311,6 @@ def assert_data_persistence(self,
312311
cursor.execute(f'select * from versioned."{table}"')
313312
cursor.execute(f'insert into versioned."{table}" (id, col_int) values (?, ?)', [str(uuid4()), 1])
314313

315-
# to trigger `alter` stmt bug(https://github.com/crate/crate/pull/17178) that falsely updated the table's
316-
# version created setting that resulted in oids instead of column names in resultsets
317-
cursor.execute('ALTER TABLE doc.dynamic SET ("refresh_interval" = 9000)')
318-
cursor.execute('INSERT INTO doc.dynamic (o) values (?)', [{version: True}])
319-
cursor.execute('REFRESH TABLE doc.dynamic')
320-
accumulated_dynamic_column_names.append(version)
321-
cursor.execute('SELECT o FROM doc.dynamic')
322-
result = cursor.fetchall()
323-
for row in result:
324-
for name in row[0].keys():
325-
self.assertIn(name, accumulated_dynamic_column_names)
326-
327314
# older versions had a bug that caused this to fail
328315
if version in ('latest-nightly', '3.2'):
329316
# Test that partition and dynamic columns can be created

0 commit comments

Comments
 (0)