Commit Graph

7 Commits (f533b5d5cf5178adf7f8f968cd7ded45c00ad9e6)

Author SHA1 Message Date
zeripath 39ef6f83d5
Create Proper Migration Tests ()
* Create Proper Migration tests

Unfortunately our testing regime has so far meant that migrations do not
get proper testing.

This PR begins the process of creating migration tests for this.

* Add test for v176

* fix mssql drop db

Signed-off-by: Andrew Thornton <art27@cantab.net>
techknowlogick 9e6a79bea9
upgrade to use testfixtures v3 ()
* upgrade to use testfixtures v3

* simplify logic

* make vendor

* update per @lunny

* Update templates/repo/empty.tmpl

* Update templates/repo/empty.tmpl

Co-authored-by: Lauris BH <lauris@nix.lv>
Lunny Xiao c61b902538
Upgrade xorm to v1.0.0 ()
* Upgrade xorm to v1.0.0

* small nit

* Fix tests

* Update xorm

* Update xorm

* fix go.sum

* fix test

* Fix bug when dump

* Fix bug

* update xorm to latest

* Fix migration test

* update xorm to latest

* Fix import order

* Use xorm tag
zeripath d3a9c4ceec
Testing: Update postgres sequences ()
Mura Li 9458880c06 Increase the retry limit to 20 times and the interval to 200ms ()
The original settings has less tolerance and would fail on some
environments.
Mura Li 583b1b8429 Retry test-fixtures loading in case of transaction rollback ()
Ethan Koenig c58708d3ee Integration test framework ()
* Integration test framework

* udpate drone sign

* Formatting fixes and move router.go to routers/

* update sign for drone