mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 15:00:27 +08:00
20 lines
234 B
Go
20 lines
234 B
Go
package installers
|
|
|
|
import (
|
|
"testing"
|
|
"time"
|
|
)
|
|
|
|
func TestQueue_InstallNode(t *testing.T) {
|
|
queue := NewQueue()
|
|
err := queue.InstallNodeProcess(16)
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
|
|
time.Sleep(1 * time.Second)
|
|
|
|
t.Log("OK")
|
|
|
|
}
|