Skip to content

Commit 828fe01

Browse files
committed
logictest: deflake test by removing IDs from assertion
These IDs are not determinsitic since they can change if an internal retry happens. Release note: None
1 parent 97dbae0 commit 828fe01

File tree

1 file changed

+7
-6
lines changed
  • pkg/sql/logictest/testdata/logic_test

1 file changed

+7
-6
lines changed

pkg/sql/logictest/testdata/logic_test/user

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,13 +184,14 @@ CREATE USER user5 NOLOGIN
184184

185185
user root
186186

187-
query TTTO rowsort
188-
SELECT * FROM system.role_options
187+
query TTT rowsort,colnames
188+
SELECT username, option, value FROM system.role_options
189189
----
190-
testuser CREATEROLE NULL 100
191-
user4 CREATEROLE NULL 108
192-
user4 NOLOGIN NULL 108
193-
user5 NOLOGIN NULL 109
190+
username option value
191+
testuser CREATEROLE NULL
192+
user4 CREATEROLE NULL
193+
user4 NOLOGIN NULL
194+
user5 NOLOGIN NULL
194195

195196
user testuser
196197

0 commit comments

Comments
 (0)