test(page): cover tied foreign-tenant seek row
This commit is contained in:
1 parent
8615d8ca66
commit
927594b567
1 file changed
+1
-1
+1
-1
@@ -69,7 +69,7 @@ func databaseFlow(t *testing.T, db bob.DB, postgres bool) {
|
|||||||
db.SetMaxOpenConns(1)
|
db.SetMaxOpenConns(1)
|
||||||
for _, statement := range []string{
|
for _, statement := range []string{
|
||||||
"CREATE TEMP TABLE items (id BIGINT PRIMARY KEY, score BIGINT NOT NULL, tenant BIGINT NOT NULL)",
|
"CREATE TEMP TABLE items (id BIGINT PRIMARY KEY, score BIGINT NOT NULL, tenant BIGINT NOT NULL)",
|
||||||
"INSERT INTO items VALUES (1,30,1),(2,30,1),(3,20,1),(4,10,1),(5,5,2)",
|
"INSERT INTO items VALUES (1,30,1),(2,30,1),(3,20,1),(4,10,1),(5,5,2),(6,30,2)",
|
||||||
} {
|
} {
|
||||||
if _, err := db.ExecContext(t.Context(), statement); err != nil {
|
if _, err := db.ExecContext(t.Context(), statement); err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
|
|||||||
Reference in new issue
Block a user