mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-21 21:44:39 -04:00
Remove autoscaling from CLI and bootstrapper
This commit is contained in:
parent
e301f575df
commit
88d200232a
14 changed files with 99 additions and 225 deletions
|
@ -62,15 +62,11 @@ func TestFromFile(t *testing.T) {
|
|||
},
|
||||
"custom config from default file": {
|
||||
config: &Config{
|
||||
Version: Version1,
|
||||
AutoscalingNodeGroupMin: 42,
|
||||
AutoscalingNodeGroupMax: 1337,
|
||||
Version: Version1,
|
||||
},
|
||||
configName: constants.ConfigFilename,
|
||||
wantResult: &Config{
|
||||
Version: Version1,
|
||||
AutoscalingNodeGroupMin: 42,
|
||||
AutoscalingNodeGroupMax: 1337,
|
||||
Version: Version1,
|
||||
},
|
||||
},
|
||||
"modify default config": {
|
||||
|
@ -151,6 +147,7 @@ func TestFromFileStrictErrors(t *testing.T) {
|
|||
err := fileHandler.Write(constants.ConfigFilename, []byte(tc.yamlConfig), file.OptNone)
|
||||
assert.NoError(err)
|
||||
|
||||
// TODO: Test should fail because of unknown field "autoscalingNodeGroupMin" but it doesn't.
|
||||
_, err = FromFile(fileHandler, constants.ConfigFilename)
|
||||
assert.Error(err)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue