les: fix and slim the unit tests of les (#20247)
* les: loose restriction of unit tests * les: update unit tests * les, light: slim the unit tests
This commit is contained in:
		
				
					committed by
					
						 Felföldi Zsolt
						Felföldi Zsolt
					
				
			
			
				
	
			
			
			
						parent
						
							fc3661f89c
						
					
				
				
					commit
					b9bac1f384
				
			| @@ -79,21 +79,21 @@ var ( | ||||
| 	} | ||||
| 	// TestServerIndexerConfig wraps a set of configs as a test indexer config for server side. | ||||
| 	TestServerIndexerConfig = &IndexerConfig{ | ||||
| 		ChtSize:           512, | ||||
| 		ChtConfirms:       4, | ||||
| 		BloomSize:         64, | ||||
| 		BloomConfirms:     4, | ||||
| 		BloomTrieSize:     512, | ||||
| 		BloomTrieConfirms: 4, | ||||
| 		ChtSize:           128, | ||||
| 		ChtConfirms:       1, | ||||
| 		BloomSize:         16, | ||||
| 		BloomConfirms:     1, | ||||
| 		BloomTrieSize:     128, | ||||
| 		BloomTrieConfirms: 1, | ||||
| 	} | ||||
| 	// TestClientIndexerConfig wraps a set of configs as a test indexer config for client side. | ||||
| 	TestClientIndexerConfig = &IndexerConfig{ | ||||
| 		ChtSize:           512, | ||||
| 		ChtConfirms:       32, | ||||
| 		BloomSize:         512, | ||||
| 		BloomConfirms:     32, | ||||
| 		BloomTrieSize:     512, | ||||
| 		BloomTrieConfirms: 32, | ||||
| 		ChtSize:           128, | ||||
| 		ChtConfirms:       8, | ||||
| 		BloomSize:         128, | ||||
| 		BloomConfirms:     8, | ||||
| 		BloomTrieSize:     128, | ||||
| 		BloomTrieConfirms: 8, | ||||
| 	} | ||||
| ) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user