mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-07 06:22:17 -04:00
re-enable azure node groups in statefile and send azure scaleset as autoscaling group
This commit is contained in:
parent
71b5a0c6c0
commit
f04765dab5
5 changed files with 98 additions and 79 deletions
14
cli/azure/autoscaling_node_group_test.go
Normal file
14
cli/azure/autoscaling_node_group_test.go
Normal file
|
@ -0,0 +1,14 @@
|
|||
package azure
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestAutoscalingNodeGroup(t *testing.T) {
|
||||
assert := assert.New(t)
|
||||
nodeGroups := AutoscalingNodeGroup("scale-set", 0, 100)
|
||||
expectedNodeGroups := "0:100:scale-set"
|
||||
assert.Equal(expectedNodeGroups, nodeGroups)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue