James Rasell
f5567b3261
cli: move tests to use NewMockUi func.
2020-10-05 16:07:41 +02:00
Tim Gross
e85c318ac9
multiregion: validation should always return error for OSS ( #8687 )
2020-08-18 15:35:38 -04:00
Tim Gross
3703489702
MRD: all regions should start pending ( #8433 )
...
Deployments should wait until kicked off by `Job.Register` so that we can
assert that all regions have a scheduled deployment before starting any
region. This changeset includes the OSS fixes to support the ENT work.
`IsMultiregionStarter` has no more callers in OSS, so remove it here.
2020-07-14 10:57:37 -04:00
Drew Bailey
ce8f230cab
Multiregion deploy status and job status CLI
2020-06-17 11:03:34 -04:00
Arshneet Singh
e6ef8b0e88
Remove redundant assertion and replace regex matches with require
2019-04-10 10:34:10 -05:00
Arshneet Singh
ec49fff549
Don't display node name if output isn't verbose. Add tests.
2019-04-10 10:34:10 -05:00
Nick Ethier
431d7af281
fix test
2018-12-20 01:01:53 -05:00
Nick Ethier
145827d8b7
fix tests that fail as a result of async client startup
2018-12-20 00:53:44 -05:00
Nick Ethier
4a4ed06db1
command: update tests to check for new error message
2018-04-18 13:51:17 -04:00
Preetha Appan
6cf5a1b326
More code review feedback
2018-03-21 14:28:14 -05:00
Preetha Appan
9c7750e7c6
Fix test
2018-03-21 09:24:28 -05:00
Preetha Appan
5e038e4106
Show reschedule policy in addition to when the eval will get rescheduled
2018-03-20 13:34:29 -05:00
Preetha Appan
c40803a63f
Unit test and linting fix
2018-03-19 22:11:07 -05:00
Preetha Appan
33475d169a
New pretty printer that imitates the short form from time.Duration.String() with approximated values for days and beyond. Used in cli output for allocation create/modify times
2017-11-01 15:16:38 -05:00
Michael Schurter
c6756d899a
Rename TestAgent.Token to TestAgent.RootToken
2017-10-06 14:35:14 -07:00
Chelsea Holland Komlo
899e0eba7f
add acl token as meta flag
...
add API test for job ACL
2017-09-15 23:33:43 +00:00
Alex Dadgar
01f584a9d8
Remove tests checking autocomplete only does 1 arg
2017-08-28 15:42:32 -07:00
Alex Dadgar
40b5158fb8
update older autocomplete tests to inject state
2017-08-22 13:33:12 -07:00
Chelsea Holland Komlo
ca6562adbd
tab completion should only happen once
2017-08-16 17:04:47 +00:00
Chelsea Holland Komlo
af2f20f1bf
tests for autocomplete functions
2017-08-15 20:21:50 +00:00
Chelsea Holland Komlo
7a476c6049
migrate nomad status to nomad job status
2017-08-09 15:16:04 +00:00