mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 21:35:33 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			179 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			179 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package tasks
 | 
						|
 | 
						|
import "testing"
 | 
						|
 | 
						|
func TestSyncClusterTask_loop(t *testing.T) {
 | 
						|
	task := NewSyncClusterTask()
 | 
						|
	err := task.loop()
 | 
						|
	if err != nil {
 | 
						|
		t.Fatal(err)
 | 
						|
	}
 | 
						|
	t.Log("ok")
 | 
						|
}
 |