Skip to content

a8n: Fix flaky test

Administrator requested to merge flaky-test into master

Created by: ryanslade

The pq driver breaks if you try and use the same transaction concurrently from two goroutines.

The old test wrapped everything in a parent transaction in order to defer constraint checks which meant that the two test goroutines ended up using the same transaction concurrently.

Merge request reports

Loading