mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-11-04 10:01:05 +01:00 
			
		
		
		
	Ignore tparallel where it doesnt make sense
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
		
							parent
							
								
									eb072a1a74
								
							
						
					
					
						commit
						6f4c6c1876
					
				@ -122,6 +122,10 @@ func TestPingAllByHostname(t *testing.T) {
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If subtests are parallel, then they will start before setup is run.
 | 
				
			||||||
 | 
					// This might mean we approach setup slightly wrong, but for now, ignore
 | 
				
			||||||
 | 
					// the linter
 | 
				
			||||||
 | 
					// nolint:tparallel
 | 
				
			||||||
func TestTaildrop(t *testing.T) {
 | 
					func TestTaildrop(t *testing.T) {
 | 
				
			||||||
	IntegrationSkip(t)
 | 
						IntegrationSkip(t)
 | 
				
			||||||
	t.Parallel()
 | 
						t.Parallel()
 | 
				
			||||||
 | 
				
			|||||||
@ -21,6 +21,10 @@ func IntegrationSkip(t *testing.T) {
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If subtests are parallel, then they will start before setup is run.
 | 
				
			||||||
 | 
					// This might mean we approach setup slightly wrong, but for now, ignore
 | 
				
			||||||
 | 
					// the linter
 | 
				
			||||||
 | 
					// nolint:tparallel
 | 
				
			||||||
func TestHeadscale(t *testing.T) {
 | 
					func TestHeadscale(t *testing.T) {
 | 
				
			||||||
	IntegrationSkip(t)
 | 
						IntegrationSkip(t)
 | 
				
			||||||
	t.Parallel()
 | 
						t.Parallel()
 | 
				
			||||||
@ -70,6 +74,10 @@ func TestHeadscale(t *testing.T) {
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If subtests are parallel, then they will start before setup is run.
 | 
				
			||||||
 | 
					// This might mean we approach setup slightly wrong, but for now, ignore
 | 
				
			||||||
 | 
					// the linter
 | 
				
			||||||
 | 
					// nolint:tparallel
 | 
				
			||||||
func TestCreateTailscale(t *testing.T) {
 | 
					func TestCreateTailscale(t *testing.T) {
 | 
				
			||||||
	IntegrationSkip(t)
 | 
						IntegrationSkip(t)
 | 
				
			||||||
	t.Parallel()
 | 
						t.Parallel()
 | 
				
			||||||
@ -104,6 +112,10 @@ func TestCreateTailscale(t *testing.T) {
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If subtests are parallel, then they will start before setup is run.
 | 
				
			||||||
 | 
					// This might mean we approach setup slightly wrong, but for now, ignore
 | 
				
			||||||
 | 
					// the linter
 | 
				
			||||||
 | 
					// nolint:tparallel
 | 
				
			||||||
func TestTailscaleNodesJoiningHeadcale(t *testing.T) {
 | 
					func TestTailscaleNodesJoiningHeadcale(t *testing.T) {
 | 
				
			||||||
	IntegrationSkip(t)
 | 
						IntegrationSkip(t)
 | 
				
			||||||
	t.Parallel()
 | 
						t.Parallel()
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user