25 lines
368 B
Go
25 lines
368 B
Go
package executor
|
|
|
|
import (
|
|
"fmt"
|
|
"strconv"
|
|
"testing"
|
|
"wdd.io/agent-common/utils"
|
|
)
|
|
|
|
func TestAgentOsOperator_Sync(t *testing.T) {
|
|
|
|
funcArgs := []string{
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
}
|
|
sync, strings := agentOP.Sync("DOWNLOAD_DOCKER_IMAGE", funcArgs...)
|
|
fmt.Println("func result are => " + strconv.FormatBool(sync))
|
|
utils.BeautifulPrint(strings)
|
|
}
|