Techiio-author
Started by Jhone ButtlerOct 29, 2021

Open
Running PostgreSQL in memory only

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

I want to run a small PostgreSQL database which runs in reminiscence only, for each unit check I write. For instance:

@Before
void setUp() {
String port = runPostgresOnRandomPort();
connectTo("postgres://localhost:"+port+"/in_memory_db");
// ...
}

Preferably I'll have a single postgres executable checked into the version manage, which the unit take a look at will use.

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance