SAP / go-ase

SAP ASE Database Client for Go
Apache License 2.0
25 stars 14 forks source link

Prevent transaction log overflow in tests #51

Closed ntnn closed 4 years ago

ntnn commented 4 years ago

Description

The problem this PR fixes was discovered while working on #50 and hence includes the already fixed test files for #50.

The default transaction log size may be too small for all test data to exist concurrently, since all tests are executed four times (username/password directly and through connector, userstorekey directly and through connector).

Instead of resizing the test database on creation or requiring developers to modify their database the tables are dropped immediately after their respective test has finished.

How was the patch tested?

make integration