mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-08 19:40:24 +08:00
实现DNS节点远程安装
This commit is contained in:
19
internal/installers/queue_node_test.go
Normal file
19
internal/installers/queue_node_test.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package installers
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
func TestQueue_InstallNode(t *testing.T) {
|
||||
queue := NewQueue()
|
||||
err := queue.InstallNodeProcess(16, false)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
time.Sleep(1 * time.Second)
|
||||
|
||||
t.Log("OK")
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user