nix: add new loadtest for errors
Also included it in CI.
This commit is contained in:
committed by
Steve Chavez
parent
57c5ff5db3
commit
b8ca1bb04c
@@ -0,0 +1,15 @@
|
||||
# Misspelled relations
|
||||
GET http://postgrest/actoxs?actor=eq.1
|
||||
Prefer: tx=commit
|
||||
|
||||
# Misspelled relations on embeds
|
||||
GET http://postgrest/actors?select=*,rolws(*,films(*))
|
||||
Prefer: tx=commit
|
||||
|
||||
# Misspelled function names
|
||||
GET http://postgrest/rpc/call_em_x?name=John
|
||||
Prefer: tx=commit
|
||||
|
||||
# Permission denied errors
|
||||
GET http://postgrest/actors_1
|
||||
Prefer: tx=commit
|
||||
@@ -0,0 +1,7 @@
|
||||
\ir fixtures.sql
|
||||
|
||||
SELECT format('CREATE TABLE test.actors_%s ();', n)
|
||||
FROM generate_series(1, 20000) n
|
||||
\gexec
|
||||
|
||||
-- TODO add many function for fuzzy search (somehow this is making the loadtest start slow)
|
||||
Reference in New Issue
Block a user