File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
src/Sql/Sql.Test/ScenarioTests Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 37
37
38
38
namespace Microsoft . Azure . Commands . ScenarioTest . SqlTests
39
39
{
40
- public class SqlTestsBase : RMTestBase
40
+ public class SqlTestsBase : RMTestBase , IDisposable
41
41
{
42
42
protected EnvironmentSetupHelper Helper ;
43
43
protected string [ ] resourceTypesToIgnoreApiVersion ;
@@ -186,5 +186,11 @@ protected static CommonStorage.StorageManagementClient GetStorageManagementClien
186
186
return context . GetServiceClient < CommonStorage . StorageManagementClient > ( TestEnvironmentFactory . GetTestEnvironment ( ) ) ;
187
187
}
188
188
189
+ public void Dispose ( )
190
+ {
191
+ XunitTracingInterceptor . RemoveFromContext ( Helper . TracingInterceptor ) ;
192
+ Helper . TracingInterceptor = null ;
193
+ Helper = null ;
194
+ }
189
195
}
190
196
}
You can’t perform that action at this time.
0 commit comments