christianspecht / scm-backup

Makes offline backups of your cloud hosted source code repositories
https://scm-backup.org/
GNU General Public License v3.0
59 stars 20 forks source link

GitScmTests.RemoteRepositoryExists_ReturnsFalseForNonExistingRepo doesn't finish on AppVeyor #15

Open christianspecht opened 6 years ago

christianspecht commented 6 years ago

https://ci.appveyor.com/project/ChristianSpecht/scm-backup/build/82 https://ci.appveyor.com/project/ChristianSpecht/scm-backup/build/83

[xUnit.net 00:03:24.6632431] ScmBackup.Tests.Integration: [Long Running Test] 'ScmBackup.Tests.Integration.Scm.GitScmTests.RemoteRepositoryExists_ReturnsFalseForNonExistingRepo', Elapsed: 00:02:01
[xUnit.net 00:05:24.6661672] ScmBackup.Tests.Integration: [Long Running Test] 'ScmBackup.Tests.Integration.Scm.GitScmTests.RemoteRepositoryExists_ReturnsFalseForNonExistingRepo', Elapsed: 00:04:01
[...]
[xUnit.net 00:55:24.7781044] ScmBackup.Tests.Integration: [Long Running Test] 'ScmBackup.Tests.Integration.Scm.GitScmTests.RemoteRepositoryExists_ReturnsFalseForNonExistingRepo', Elapsed: 00:54:01
[xUnit.net 00:57:24.7824158] ScmBackup.Tests.Integration: [Long Running Test] 'ScmBackup.Tests.Integration.Scm.GitScmTests.RemoteRepositoryExists_ReturnsFalseForNonExistingRepo', Elapsed: 00:56:01

Build execution time has reached the maximum allowed time for your plan (60 minutes).

Only happens on AppVeyor, no problems on local machine.

christianspecht commented 5 years ago

...and another one:

[...] [xUnit.net 00:56:36.84] ScmBackup.Tests.Integration: [Long Running Test] 'ScmBackup.Tests.Integration.Hosters.GithubBackupTests.DoesntBackupWikiIfNotSet', Elapsed: 00:56:09 [xUnit.net 00:58:36.84] ScmBackup.Tests.Integration: [Long Running Test] 'ScmBackup.Tests.Integration.Hosters.GithubBackupTests.DoesntBackupWikiIfNotSet', Elapsed: 00:58:09

christianspecht commented 5 years ago

No time for proper troubleshooting right now. So I'll skip all long-running tests for now, until the AppVeyor build is working again.

christianspecht commented 5 years ago

https://ci.appveyor.com/project/ChristianSpecht/scm-backup/builds/23581363:

[xUnit.net 00:02:12.90] ScmBackup.Tests.Integration: [Long Running Test] 'ScmBackup.Tests.Integration.Hosters.GithubBackupTests.MakesBackupOfPrivateRepo', Elapsed: 00:02:11

and the logfile created here:

2019-04-03 21:24:32.5879|INFO|ScmBackup|STARTING: GithubBackupTests 2019-04-03 21:24:32.6390|DEBUG|ScmBackup|factory created

--> the next step after this is the GitHub API call, so this seems to be the culprit