This commit is contained in:
Bojan Serafimov
2022-02-22 12:48:46 -05:00
parent 2a6efe4a48
commit d32085cf1b
2 changed files with 20 additions and 19 deletions

View File

@@ -1,17 +1,4 @@
import psycopg2
import json
import subprocess
import asyncio
import time
def test_proxy_password_auth(vanilla_pg, zenith_proxy):
vanilla_pg.configure(['shared_buffers=1MB'])
vanilla_pg.start()
vanilla_pg.safe_psql("create user postgres with password 'postgres';")
zenith_proxy.start_static()
conn = zenith_proxy.connect()
print(zenith_proxy.safe_psql("select 1;")[0])
def test_proxy_select_1(vanilla_pg_1mb, static_proxy):
static_proxy.safe_psql("select 1;")