open-nomad/command/agent
Tim Gross 7770eda3f1
config: fix test-only failures in UI handler setup (#11571)
The `TestHTTPServer_Limits_Error` test never starts the agent so it
had an incomplete configuration, which caused panics in the test. Fix
the configuration.

The PR #11555 had a branch name like `f-ui-*` which caused CI to skip
the unit tests over the HTTP handler setup, so this wasn't caught in
PR review.
2021-11-24 16:19:04 -05:00
..
consul client: never embed alloc_dir in chroot 2021-10-18 09:22:01 -07:00
event make auditor interface more explicit 2020-03-23 19:32:58 -04:00
host gofmt all the files 2021-10-01 10:14:28 -04:00
monitor unlock before returning, no need for label 2019-11-05 11:44:29 -05:00
pprof Apply some suggested fixes from staticcheck (#9598) 2020-12-10 07:29:18 -08:00
test-resources chore: Format hcl configurations 2019-07-20 16:55:07 +02:00
testdata Add FailoverHeartbeatTTL to config (#11127) 2021-10-06 18:48:12 -04:00
acl_endpoint.go HTTP API support for 'nomad ui -login' 2021-03-10 08:17:56 -05:00
acl_endpoint_test.go command/agent: fix dropped test errors 2021-04-13 01:51:24 -07:00
agent.go Making RPC Upgrade mode reloadable. (#11144) 2021-11-01 16:30:53 -04:00
agent_endpoint.go fix AgentHostRequest panic found in GH-9546 (#9554) 2020-12-07 17:34:40 -05:00
agent_endpoint_test.go tests: deflake some SetServer related tests 2020-04-07 09:27:48 -04:00
agent_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
agent_test.go Making RPC Upgrade mode reloadable. (#11144) 2021-11-01 16:30:53 -04:00
alloc_endpoint.go exec: http: close websocket connection gracefully 2021-05-24 13:37:23 -04:00
alloc_endpoint_test.go documenting test for #9367 2020-11-15 17:47:50 +00:00
bindata_assetfs.go Merge release 1.2.0 rc1 branch (#11486) 2021-11-09 17:55:13 -05:00
command.go logging: Log the cause behind agent startup failure (#11353) 2021-10-27 10:41:17 -07:00
command_test.go client: improve errors & tests for dynamic ports 2021-10-13 16:25:25 -07:00
config.go config: UI configuration block with Vault/Consul links (#11555) 2021-11-24 11:20:02 -05:00
config_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
config_parse.go Add FailoverHeartbeatTTL to config (#11127) 2021-10-06 18:48:12 -04:00
config_parse_test.go Add FailoverHeartbeatTTL to config (#11127) 2021-10-06 18:48:12 -04:00
config_test.go client: output reserved ports with min/max ports 2021-09-30 17:05:46 -07:00
csi_endpoint.go CSI ListSnapshots secrets implementation 2021-07-28 11:30:29 -07:00
csi_endpoint_test.go CSI: capability block is required for volume registration 2021-04-08 13:02:24 -04:00
deployment_endpoint.go use constants from http package 2020-06-17 11:04:02 -04:00
deployment_endpoint_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
eval_endpoint.go http: list results are never null 2015-09-07 10:03:10 -07:00
eval_endpoint_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
event_endpoint.go return 405 on non-GET requests to /v1/event/stream (fixes #9526) (#9564) 2020-12-08 13:09:20 -05:00
event_endpoint_test.go Remove Managed Sinks from Nomad (#9470) 2020-11-30 14:00:31 -05:00
fs_endpoint.go api: return 404 for alloc FS list/stat endpoints (#11482) 2021-11-17 11:15:07 -05:00
fs_endpoint_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
helpers.go client: expose task state to client 2018-10-16 16:56:55 -07:00
helpers_test.go test: fix missing agent shutdowns 2020-02-07 15:50:53 -08:00
http.go config: UI configuration block with Vault/Consul links (#11555) 2021-11-24 11:20:02 -05:00
http_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
http_stdlog.go agent: route http logs through hclog 2020-04-20 10:33:40 -04:00
http_stdlog_test.go agent: route http logs through hclog 2020-04-20 10:33:40 -04:00
http_test.go config: fix test-only failures in UI handler setup (#11571) 2021-11-24 16:19:04 -05:00
job_endpoint.go core: allow setting and propagation of eval priority on job de/registration (#11532) 2021-11-23 09:23:31 +01:00
job_endpoint_test.go core: allow setting and propagation of eval priority on job de/registration (#11532) 2021-11-23 09:23:31 +01:00
keyring.go Log AES-128 and AES-192 key sizes during keyring initialization 2020-10-01 11:12:14 -04:00
keyring_test.go Fix other usages of initKeyring func to use logger as third argument 2020-10-01 11:13:06 -04:00
log_file.go prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
log_file_bsd.go prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
log_file_linux.go prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
log_file_test.go prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
log_file_windows.go prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
log_levels.go Support for hot reloading log levels 2019-07-24 13:37:08 +02:00
log_levels_test.go More parallel 2017-07-20 09:36:34 -07:00
metrics_endpoint.go agent: return req error if prometheus metrics are disabled. 2021-03-09 15:28:58 +01:00
metrics_endpoint_test.go agent: return req error if prometheus metrics are disabled. 2021-03-09 15:28:58 +01:00
namespace_endpoint.go core: open source namespaces 2020-10-22 15:26:32 -07:00
namespace_endpoint_test.go gofmt all the files 2021-10-01 10:14:28 -04:00
node_endpoint.go Node Drain Metadata (#10250) 2021-05-07 13:58:40 -04:00
node_endpoint_test.go Node Drain Metadata (#10250) 2021-05-07 13:58:40 -04:00
operator_endpoint.go Revert "Return SchedulerConfig instead of SchedulerConfigResponse struct (#10799)" (#11433) 2021-11-02 17:42:52 -04:00
operator_endpoint_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
operator_endpoint_test.go Revert "Return SchedulerConfig instead of SchedulerConfigResponse struct (#10799)" (#11433) 2021-11-02 17:42:52 -04:00
plugins.go move pluginutils -> helper/pluginutils 2019-01-22 15:50:08 -08:00
region_endpoint.go website: document regions endpoint 2015-11-24 09:38:07 -08:00
region_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
retry_join.go agent + consul 2018-09-13 10:43:40 -07:00
retry_join_test.go agent + consul 2018-09-13 10:43:40 -07:00
scaling_endpoint.go Add gocritic to golangci-lint config (#9556) 2020-12-08 12:47:04 -08:00
scaling_endpoint_test.go added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
search_endpoint.go api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
search_endpoint_test.go api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
stats_endpoint.go Server side impl + touch ups 2018-02-15 13:59:02 -08:00
stats_endpoint_test.go Fix failing test TestClientStatusRequest 2018-05-30 15:11:54 -05:00
status_endpoint.go http: adding status APIs 2015-09-06 18:39:03 -07:00
status_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
stub_asset.go gofmt all the files 2021-10-01 10:14:28 -04:00
syslog.go goimports 2019-01-22 15:44:31 -08:00
syslog_test.go goimports 2019-01-22 15:44:31 -08:00
system_endpoint.go Added an endpoint for users to reconcile job summaries 2016-08-03 16:12:47 -07:00
system_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
testagent.go tests: use standard library testing.TB 2021-06-09 16:18:45 -07:00
testagent_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
testingutils_test.go mock: add default host network 2020-11-23 10:11:00 -06:00