Marco Primi
f8a030bc4a
Use testing.TempDir() where possible
...
Refactor tests to use go built-in temporary directory utility for tests.
Also avoid binding to default port (which may be in use)
2022-12-12 13:18:44 -08:00
Ivan Kozlovic
3c9a7cc6e5
Move to Go 1.19, remote io/util, fix data race and a flapper
...
Signed-off-by: Ivan Kozlovic <ivan@synadia.com >
2022-08-05 09:55:37 -06:00
Jaime Piña
d929ee1348
Check errors when removing test directories and files
...
Currently in tests, we have calls to os.Remove and os.RemoveAll where we
don't check the returned error. This hides useful error messages when
tests fail to run, such as "too many open files".
This change checks for more filesystem related errors and calls t.Fatal
if there is an error.
2021-04-07 11:09:47 -07:00
Derek Collison
d7140a0fd1
Update for client rename
...
Signed-off-by: Derek Collison <derek@nats.io >
2019-05-10 15:11:30 -07:00
Derek Collison
00901acc78
Update license to Apache 2
2018-03-15 22:31:07 -07:00
Ivan Kozlovic
0cf8455a3a
[ADDED] Support for token in configuration file
...
So far, it was only possible to use token from the command line.
Resolves #464
2017-03-30 11:23:07 -06:00
Derek Collison
61e0b758d7
Updates for Go client rename, update vendor dependencies
2016-11-20 13:15:37 -08:00
Derek Collison
fa95bd936b
spelling
2016-06-17 10:09:14 -07:00
Derek Collison
67ed61c837
fixups for PR comments
2016-06-17 09:59:39 -07:00
Derek Collison
7730fac9e2
Authorization enforcement and performance tweaks
2016-06-16 17:07:25 -07:00