diff --git a/eks_automation/tests/test_github_client_integration.py b/eks_automation/tests/test_github_client_integration.py index 7b24c33..bec46ac 100644 --- a/eks_automation/tests/test_github_client_integration.py +++ b/eks_automation/tests/test_github_client_integration.py @@ -110,6 +110,9 @@ def test_file_operations(self, temp_repo_name, cleanup_repo): ) assert branch == "main" + # Add a small delay to ensure GitHub API has processed the commit + time.sleep(2) + # Verify we can clone the repository with the file output_dir = os.path.join(work_dir, "clone") cloned_branch = self.client.clone_repository_contents(repo_name, output_dir)