4730c589fe
chore: Use standardized test timeouts and delays ( #3291 )
2022-08-01 15:45:05 +03:00
1c04b20fde
fix: Set cache dir for coderd tests ( #3160 )
...
* fix: Set cache dir for coderd in codedtest
* fix: Ensure server cli tests have a cache path
To avoid sharing default path.
2022-07-25 19:24:32 +03:00
51dd1fde3b
fix: Remove use of require
in require.Eventually
in tests ( #3110 )
...
* fix: Remove use of `require` in `require.Eventually` in tests
Because require uses `t.FailNow()` and `require.Eventually` runs the
function in a goroutine, which is not allowed.
* feat: Add ruleguard for require.Eventually
Co-authored-by: Cian Johnston <cian@coder.com >
2022-07-22 20:02:49 +03:00
c2f74f3cc2
chore: avoid concurrent usage of t.FailNow ( #1683 )
...
* chore: golangci: add linter rule to report usage of t.FailNow inside goroutines
* chore: avoid t.FailNow in goroutines to appease the race detector
2022-05-24 08:58:39 +01:00
9f402fa27f
Spike/222 workspace build order ( #1534 )
...
* chore: refactor before_id/after_id to build_number
Signed-off-by: Spike Curtis <spike@coder.com >
* pagination of workspace_builds
Signed-off-by: Spike Curtis <spike@coder.com >
* Disable parallel on postgres tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix lint
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix workspace build postgres query
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix JS tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix workspace builds postgres query
Signed-off-by: Spike Curtis <spike@coder.com >
2022-05-18 16:33:33 +00:00
20916281d8
feat: Add reset-password command ( #1380 )
...
* allow non-destructively checking if database needs to be migrated
* feat: Add reset-password command
* fix linter errors
* clean up reset-password usage prompt
* Add confirmation to reset-password command
* Ping database before checking migration, to improve error message
2022-05-12 12:32:56 -05:00