Closed mfussenegger closed 7 months ago
Thanks a lot! Shouldn't we also assert the user and privs like we did in the upgrade test:
cursor.execute("select name from sys.users order by 1")
self.assertEqual(cursor.fetchall(), [["crate"], ["trillian"]])
cursor.execute("select * from sys.privileges")
self.assertEqual(cursor.fetchall(), [["TABLE", "trillian", "crate", "doc.t1", "GRANT", "DQL"]])
Good idea. Added a fixup
To catch regressions like https://github.com/crate/crate/pull/15425 in the future