Try cleaning more than once in test.
This commit is contained in:
		
							parent
							
								
									97b3e537bd
								
							
						
					
					
						commit
						6767785e0f
					
				|  | @ -195,8 +195,9 @@ class ScopeManagerTest extends Specification { | ||||||
|     when: |     when: | ||||||
|     if (forceGC) { |     if (forceGC) { | ||||||
|       continuation = null // Continuation references also hold up traces. |       continuation = null // Continuation references also hold up traces. | ||||||
|       PendingTrace.awaitGC() |       while (!((DDSpanContext) span.context()).trace.clean()) { | ||||||
|       ((DDSpanContext) span.context()).trace.clean() |         PendingTrace.awaitGC() | ||||||
|  |       } | ||||||
|       writer.waitForTraces(1) |       writer.waitForTraces(1) | ||||||
|     } |     } | ||||||
|     if (autoClose) { |     if (autoClose) { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue