tembo-io / trunk

Package manager and registry for Postgres extensions
PostgreSQL License
257 stars 17 forks source link

Use serial create to serialize conflicting tests #601

Closed theory closed 9 months ago

theory commented 9 months ago

We have two tests that install PGRX. One of them checked for and deleted the shared object library, which could stomp on the other test!

So use the serial_test crate to force those two tests to run serial relative to one another. Then make sure both tests delete the shared object file if it exists, just to be sure that CREATE EXTENSION works for both.

theory commented 9 months ago

Closing in favor of #604.