mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
chore: run machine tests in parallel
This commit is contained in:
@@ -13,6 +13,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestMachineRename(t *testing.T) {
|
func TestMachineRename(t *testing.T) {
|
||||||
|
t.Parallel()
|
||||||
|
|
||||||
name := "ucind-test.machine-rename"
|
name := "ucind-test.machine-rename"
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
c, _ := createTestCluster(t, name, ucind.CreateClusterOptions{Machines: 3}, true)
|
c, _ := createTestCluster(t, name, ucind.CreateClusterOptions{Machines: 3}, true)
|
||||||
@@ -205,6 +207,8 @@ func TestMachineRename(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestUpdateMachine(t *testing.T) {
|
func TestUpdateMachine(t *testing.T) {
|
||||||
|
t.Parallel()
|
||||||
|
|
||||||
name := "ucind-test.machine-update"
|
name := "ucind-test.machine-update"
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
c, _ := createTestCluster(t, name, ucind.CreateClusterOptions{Machines: 3}, true)
|
c, _ := createTestCluster(t, name, ucind.CreateClusterOptions{Machines: 3}, true)
|
||||||
|
|||||||
Reference in New Issue
Block a user