Skip to content

Commit 2ed63cc

Browse files
committed
Work on integ tests
1 parent d60bb93 commit 2ed63cc

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

Libraries/test/Amazon.Lambda.RuntimeSupport.Tests/Amazon.Lambda.RuntimeSupport.IntegrationTests/Helpers/LambdaToolsHelper.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,13 @@ public static class LambdaToolsHelper
1010

1111
public static string GetTempTestAppDirectory(string workingDirectory, string testAppPath)
1212
{
13-
#if DEBUG
14-
return Path.GetFullPath(Path.Combine(workingDirectory, testAppPath));
15-
#else
1613
var customTestAppPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
1714
Directory.CreateDirectory(customTestAppPath);
1815

1916
var currentDir = new DirectoryInfo(workingDirectory);
2017
CopyDirectory(currentDir, customTestAppPath);
2118

2219
return Path.Combine(customTestAppPath, testAppPath);
23-
#endif
2420
}
2521

2622
public static async Task<string> InstallLambdaTools()

Libraries/test/Amazon.Lambda.RuntimeSupport.Tests/Amazon.Lambda.RuntimeSupport.IntegrationTests/IntegrationTestFixture.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,10 @@ public async Task InitializeAsync()
4848

4949
public Task DisposeAsync()
5050
{
51-
#if !DEBUG
5251
foreach (var tempPath in _tempPaths)
5352
{
5453
LambdaToolsHelper.CleanUp(tempPath);
5554
}
56-
#endif
5755

5856
return Task.CompletedTask;
5957
}

0 commit comments

Comments
 (0)