mirror of https://github.com/sysown/proxysql
The purge verification in test 1 was checking the statement count immediately after creating statements. The purge mechanism has a 1-second minimum interval between attempts and only removes statements with ref_count_client == 0. Fix by closing the connection (dropping refcounts), waiting 3 seconds, then triggering a new refcount change to invoke the purge before checking.v3.0-ci0405
parent
73a561450d
commit
9098992f82
Loading…
Reference in new issue