@@ -18,7 +18,7 @@ public class AssemblyTestLogTests : LoggedTest
18
18
{
19
19
private static readonly Assembly ThisAssembly = typeof ( AssemblyTestLogTests ) . GetTypeInfo ( ) . Assembly ;
20
20
private static readonly string ThisAssemblyName = ThisAssembly . GetName ( ) . Name ;
21
- private static readonly string TFM = new DirectoryInfo ( AppContext . BaseDirectory ) . Name ;
21
+ private static readonly string TFM = ThisAssembly . GetCustomAttributes ( ) . OfType < TestOutputDirectoryAttribute > ( ) . FirstOrDefault ( ) . TargetFramework ;
22
22
23
23
[ Fact ]
24
24
public void FunctionalLogs_LogsPreservedFromNonQuarantinedTest ( )
@@ -76,7 +76,7 @@ public Task TestLogEscapesIllegalFileNames() =>
76
76
}
77
77
} ) ;
78
78
79
- [ Fact ( Skip = "https://github.com/dotnet/aspnetcore/issues/19683" ) ]
79
+ [ Fact ]
80
80
public Task TestLogWritesToGlobalLogFile ( ) =>
81
81
RunTestLogFunctionalTest ( ( tempDir ) =>
82
82
{
@@ -120,7 +120,7 @@ [OFFSET] [TestLifetime] [Information] Finished test FakeTestName in DURATION
120
120
" , testLogContent , ignoreLineEndingDifferences : true ) ;
121
121
} ) ;
122
122
123
- [ Fact ( Skip = "https://github.com/dotnet/aspnetcore/issues/19683" ) ]
123
+ [ Fact ]
124
124
public Task TestLogTruncatesTestNameToAvoidLongPaths ( ) =>
125
125
RunTestLogFunctionalTest ( ( tempDir ) =>
126
126
{
@@ -147,7 +147,7 @@ public Task TestLogTruncatesTestNameToAvoidLongPaths() =>
147
147
Assert . Equal ( longTestName . Substring ( longTestName . Length - testFileName . Length / 2 , testFileName . Length / 2 ) , testFileName . Substring ( testFileName . Length - testFileName . Length / 2 , testFileName . Length / 2 ) ) ;
148
148
} ) ;
149
149
150
- [ Fact ( Skip = "https://github.com/dotnet/aspnetcore/issues/19683" ) ]
150
+ [ Fact ]
151
151
public Task TestLogEnumerateFilenamesToAvoidCollisions ( ) =>
152
152
RunTestLogFunctionalTest ( ( tempDir ) =>
153
153
{
0 commit comments