test: remove big_schema.sql from io tests
It was unused(test skipped) and made the scache reload slower, causing test failure on CI.
This commit is contained in:
committed by
Steve Chavez
parent
4f6c466031
commit
9a3d453bf4
@@ -1,4 +1,4 @@
|
||||
\ir big_schema.sql
|
||||
-- \ir big_schema.sql big schema test currently skipped, see test_io.py
|
||||
\ir db_config.sql
|
||||
|
||||
set search_path to public;
|
||||
|
||||
+2
-4
@@ -308,13 +308,11 @@ def test_db_schema_reload(tmp_path, defaultenv):
|
||||
|
||||
# reload config
|
||||
postgrest.process.send_signal(signal.SIGUSR2)
|
||||
time.sleep(0.1)
|
||||
|
||||
# reload schema cache to verify that the config reload actually happened
|
||||
postgrest.process.send_signal(signal.SIGUSR1)
|
||||
|
||||
# takes max 1 second to load the internal cache(big_schema.sql included now)
|
||||
# TODO this could go back to time.sleep(0.1) if the big_schema is put in another test suite
|
||||
time.sleep(1)
|
||||
time.sleep(0.1)
|
||||
|
||||
response = postgrest.session.get("/rpc/get_guc_value?name=search_path")
|
||||
assert response.text == '"\\"v1\\", \\"public\\""'
|
||||
|
||||
Reference in New Issue
Block a user