mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-03 18:53:13 -05:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
		
			260 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
		
			260 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								// +build etcd
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								package test
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import "testing"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// This test starts two coredns servers (and needs etcd). Configure a stubzones in both (that will loop) and
							 | 
						||
| 
								 | 
							
								// will then test if we detect this loop.
							 | 
						||
| 
								 | 
							
								func TestEtcdStubForwarding(t *testing.T) {
							 | 
						||
| 
								 | 
							
									// TODO(miek)
							 | 
						||
| 
								 | 
							
								}
							 |