backport of commit 6fca4fa715fcfe5c4a214e90f72c54cda7da6efd (#18490)
Co-authored-by: Seth Hoenig <shoenig@duck.com>
This commit is contained in:
parent
8309505987
commit
6a4a3f6d78
|
@ -49,10 +49,7 @@ jobs:
|
|||
- uses: hashicorp/setup-golang@v1
|
||||
- run: make deps
|
||||
- name: Vault Compatability
|
||||
run: |
|
||||
sudo sed -i 's!Defaults!#Defaults!g' /etc/sudoers
|
||||
sudo -E env "PATH=$PATH" make integration-test
|
||||
sudo -E env "PATH=$PATH" make clean
|
||||
run: make integration-test
|
||||
- run: make e2e-test
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
@ -133,7 +133,8 @@ func startNomad(t *testing.T, vc *vaultapi.Client) (func(), *nomadapi.Client) {
|
|||
}
|
||||
c.DevMode = true
|
||||
c.Client = &testutil.ClientConfig{
|
||||
Enabled: true,
|
||||
Enabled: true,
|
||||
TotalCompute: 1000,
|
||||
}
|
||||
c.LogLevel = "off"
|
||||
})
|
||||
|
|
|
@ -78,7 +78,8 @@ type ServerConfig struct {
|
|||
|
||||
// ClientConfig is used to configure the client
|
||||
type ClientConfig struct {
|
||||
Enabled bool `json:"enabled"`
|
||||
Enabled bool `json:"enabled"`
|
||||
TotalCompute int `json:"cpu_total_compute"`
|
||||
}
|
||||
|
||||
// VaultConfig is used to configure Vault
|
||||
|
|
Loading…
Reference in New Issue