Skip to content

Commit

Permalink
pop changes back in
Browse files Browse the repository at this point in the history
  • Loading branch information
begonaguereca committed Oct 30, 2024
1 parent 0b3948d commit 1478850
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/OctoshiftCLI.IntegrationTests/GhesToGithub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ public GhesToGithub(ITestOutputHelper output)
_targetHelper = new TestHelper(_output, _targetGithubApi, _targetGithubClient, _blobServiceClient);
}

// [Theory]
// [InlineData(false)]
// [InlineData(true)]
public async Task Basic()
[Theory]
[InlineData(false)]
[InlineData(true)]
public async Task Basic(bool useGithubStorage)
{
var githubSourceOrg = $"e2e-testing-{TestHelper.GetOsName()}";
var githubTargetOrg = $"octoshift-e2e-ghes-{TestHelper.GetOsName()}";
Expand All @@ -76,18 +76,18 @@ public async Task Basic()
var retryPolicy = new RetryPolicy(null);

await retryPolicy.Retry(async () =>
{
await _targetHelper.ResetBlobContainers();
{
await _targetHelper.ResetBlobContainers();
await _sourceHelper.ResetGithubTestEnvironment(githubSourceOrg);
await _targetHelper.ResetGithubTestEnvironment(githubTargetOrg);
await _sourceHelper.ResetGithubTestEnvironment(githubSourceOrg);
await _targetHelper.ResetGithubTestEnvironment(githubTargetOrg);
await _sourceHelper.CreateGithubRepo(githubSourceOrg, repo1);
await _sourceHelper.CreateGithubRepo(githubSourceOrg, repo2);
});
await _sourceHelper.CreateGithubRepo(githubSourceOrg, repo1);
await _sourceHelper.CreateGithubRepo(githubSourceOrg, repo2);
});

await _targetHelper.RunGeiCliMigration(
$"generate-script --github-source-org {githubSourceOrg} --github-target-org {githubTargetOrg} --ghes-api-url {GHES_API_URL} --use-github-storage false --download-migration-logs", _tokens);
$"generate-script --github-source-org {githubSourceOrg} --github-target-org {githubTargetOrg} --ghes-api-url {GHES_API_URL} --use-github-storage {useGithubStorage} --download-migration-logs", _tokens);

_targetHelper.AssertNoErrorInLogs(_startTime);

Expand Down

0 comments on commit 1478850

Please sign in to comment.