mirror of
				https://github.com/0glabs/0g-storage-node.git
				synced 2025-11-04 08:37:27 +00:00 
			
		
		
		
	Add py test for auto sync v2
This commit is contained in:
		
							parent
							
								
									5dc7c52d41
								
							
						
					
					
						commit
						a7a2f24784
					
				@ -3,6 +3,7 @@
 | 
			
		||||
from test_framework.test_framework import TestFramework
 | 
			
		||||
from utility.utils import wait_until
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class AutoRandomSyncV2Test(TestFramework):
 | 
			
		||||
    def setup_params(self):
 | 
			
		||||
        self.num_nodes = 4
 | 
			
		||||
@ -30,5 +31,6 @@ class AutoRandomSyncV2Test(TestFramework):
 | 
			
		||||
            wait_until(lambda: self.nodes[i].zgs_get_file_info(data_root_2) is not None)
 | 
			
		||||
            wait_until(lambda: self.nodes[i].zgs_get_file_info(data_root_2)["finalized"])
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if __name__ == "__main__":
 | 
			
		||||
    AutoRandomSyncV2Test().main()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user