24 lines
458 B
Go
24 lines
458 B
Go
package k8s_exec
|
|
|
|
import (
|
|
"agent-go/utils"
|
|
"testing"
|
|
)
|
|
|
|
func TestFindDeploymentRestartCountGreaterThanN(t *testing.T) {
|
|
|
|
deploymentRestartCountGreaterThanN := FindDeploymentRestartCountGreaterThanN("devflight", 10)
|
|
|
|
for _, deploymentInterface := range deploymentRestartCountGreaterThanN {
|
|
println()
|
|
utils.BeautifulPrint(deploymentInterface)
|
|
println()
|
|
}
|
|
|
|
}
|
|
|
|
func TestGetCmiiAllDeploymentFromDemo(t *testing.T) {
|
|
|
|
GetCmiiAllDeploymentFromDemo()
|
|
}
|