Add timeouts to fail faster #412
Merged
GitHub Actions / Test results
succeeded
Sep 11, 2024 in 1s
112 passed, 0 failed and 6 skipped
✅ Source/Bake.Tests/TestResults/_fv-az1210-606_2024-09-11_07_15_18.trx
118 tests were completed in 243s with 112 passed, 0 failed and 6 skipped.
✅ Bake.Tests.ExplicitTests.GitHubReleaseCookTests
⚪ CreateRelease
✅ Bake.Tests.ExplicitTests.GitHubTests
⚪ GetCommits
⚪ GetPullRequest_NonExisting
⚪ GetPullRequests
✅ Bake.Tests.IntegrationTests.BakeTests.DockerFileSimpleTests
✅ NamedDockerfile
✅ Run
✅ Bake.Tests.IntegrationTests.BakeTests.GoLangServiceTests
✅ Run
✅ Bake.Tests.IntegrationTests.BakeTests.HelmChartTests
✅ PushToChartMuseum
✅ PushToOctopusDeploy("bake_credentials_octopusdeploy_apikey")
✅ PushToOctopusDeploy("bake_credentials_octopusdeploy_localhost_apikey")
✅ PushToOctopusDeploy("octopus_deploy_apikey")
✅ Run
✅ Bake.Tests.IntegrationTests.BakeTests.MkDocsSimple
✅ Run
✅ Bake.Tests.IntegrationTests.BakeTests.NetCoreConsoleTests
✅ BasicArgsTest("--help")
✅ BasicArgsTest("--version")
✅ BasicArgsTest("-?")
✅ BasicArgsTest("-h")
✅ BasicArgsTest("-v")
✅ BasicArgsTest("apply","--help")
✅ BasicArgsTest("plan","--help")
✅ BasicArgsTest("run","--help")
✅ ExitCodeTests(257)
✅ Minimal
✅ PlanThenApply(Debug)
✅ PlanThenApply(Error)
✅ PlanThenApply(Fatal)
✅ PlanThenApply(Information)
✅ PlanThenApply(Verbose)
✅ PlanThenApply(Warning)
✅ Run
✅ Bake.Tests.IntegrationTests.BakeTests.NetCorePackageTests
✅ Run
✅ Bake.Tests.IntegrationTests.BakeTests.NetCoreServiceTests
✅ Run
✅ Bake.Tests.IntegrationTests.BakeTests.NetV8ServiceTests
✅ Run
✅ Bake.Tests.IntegrationTests.BakeTests.NodeJSService
✅ Run
✅ Bake.Tests.IntegrationTests.BakeTests.Python3FlaskTests
✅ Run
✅ Bake.Tests.IntegrationTests.ServiceTests.DotNetComposerServiceTests
✅ TestIt
✅ Bake.Tests.IntegrationTests.ServiceTests.GitHubTests
⚪ GetPullRequestInformationAsync
✅ Bake.Tests.LicenseHeader
⚪ UpdateHeaders
✅ Bake.Tests.UnitTests.Commands.CommandFactoryTests
✅ TestCreation
✅ ThrowException
✅ Bake.Tests.UnitTests.Cooking.Ingredients.Gathers.ReleaseNotesGatherTests
✅ PickExpectedVersion("1.0.129","1.1,1.0-alpha,0.9","1.0-alpha")
✅ PickExpectedVersion("1.0.129","1.1,1.0,0.9","1.0")
✅ PickExpectedVersion("1.0","1.1,1.0,0.9","1.0")
✅ Bake.Tests.UnitTests.Core.CredentialsTests
✅ GetNuGetApiKeyAsync("http://localhost:5555/v3/index.json","bake_credentials_nuget_localhost_apikey","acd0b30512ac4fa39f62eb7a61fcf56c")
✅ Bake.Tests.UnitTests.Core.EnvironmentVariablesTests
✅ GetAsync
✅ Bake.Tests.UnitTests.Core.FileSystemTests
✅ FindFilesAsync
✅ Bake.Tests.UnitTests.Core.GitRemoteParserTests
✅ TryParse("[email protected]:rasmus/Bake.git","git","github.com","/rasmus/Bake.git")
✅ TryParse("https://github.com/rasmus/Bake.git","https","github.com","/rasmus/Bake.git")
✅ Bake.Tests.UnitTests.Core.NuGetConfigurationTests
✅ GenerateAsync
✅ Bake.Tests.UnitTests.Core.SemVerTests
✅ Compare("0.0.1 0.1.0 1.0.0","1.0.0","0.0.1","0.1.0")
✅ Compare("1.0 1.0-alpha","1.0","1.0-alpha")
✅ Compare("1.0.0 1.1.0 1.1.1","1.1.1","1.0.0","1.1.0")
✅ IsSubset("1.2.0","1.2.0",True)
✅ IsSubset("1.2.1","1.2.0",False)
✅ IsSubset("1.2","1.2.0",True)
✅ IsSubset("1.2","1.2.5",True)
✅ IsSubset("2.1.1","1.2.1",False)
✅ ValidVersions("1.2.3-meta",1,2,3,"meta")
✅ ValidVersions("1.2",1,2,null,null)
✅ ValidVersions("3",3,null,null,null)
✅ ValidVersions("321.231.132-magic",321,231,132,"magic")
✅ ValidVersions("v1.2.3",1,2,3,null)
✅ ValidVersions("version 1.2.3",1,2,3,null)
✅ Bake.Tests.UnitTests.Extensions.StringExtensionsTests
✅ ToSlug("abc","abc")
✅ ToSlug("æøå","aoa")
✅ ToSlug("kjcasd )=(/=)(/& cadsÆØÅÆhcadjskchj/(/7856","kjcasd-cadsaoaahcadjskchj-7856")
✅ Bake.Tests.UnitTests.Ingredients.Gathers.GitHubGatherTests
✅ Verify("https://github.com/rasmus/Bake.git","rasmus","Bake","https://api.github.com/")
✅ Verify("https://github.com/rasmus/Bake","rasmus","Bake","https://api.github.com/")
✅ Verify("https://github.schibsted.com/rasmus-mikkelsen/Bake","rasmus-mikkelsen","Bake","https://github.schibsted.com/api/v3")
✅ Bake.Tests.UnitTests.Services.BakeProjectParserTests
✅ SimpleCase
✅ Bake.Tests.UnitTests.Services.ChangeLogBuilderTests
✅ Build
✅ Bake.Tests.UnitTests.Services.ComposerOrderingTests
✅ BasicOrdering
✅ Current
✅ Bake.Tests.UnitTests.Services.ContainerTagParserTests
✅ SuccessTryParse("containers.example.org/my-org/my-path/somecontainer:v1.2.3","containers.example.org","my-org/my-path","somecontainer","v1.2.3")
✅ SuccessTryParse("localhost:5000/path/image","localhost:5000","path","image","latest")
✅ SuccessTryParse("localhost/image:2","localhost","","image","2")
✅ SuccessTryParse("localhost/image:v1.2.3","localhost","","image","v1.2.3")
✅ SuccessTryParse("localhost/path/image:2","localhost","path","image","2")
✅ SuccessTryParse("registry:2","","","registry","2")
✅ SuccessTryParse("registry","","","registry","latest")
✅ Bake.Tests.UnitTests.Services.CsProjParserTests
✅ IsTool
✅ Bake.Tests.UnitTests.Services.DescriptionLimiterTests
✅ CutsAtHeadline
✅ CutsAtHeadlineSimple
✅ Fallback
✅ LessThanMaxIsAccepted
✅ Bake.Tests.UnitTests.Services.DestinationParserTests
✅ DockerRegistry("container>localhost:5000","localhost:5000/")
✅ DockerRegistry("container>localhost:5000/","localhost:5000/")
✅ DockerRegistry("container>rasmus","rasmus/")
✅ Dynamics("container>github","container","github")
✅ Dynamics("nuget>github","nuget","github")
✅ Dynamics("release>github","release","github")
✅ HelmChart("helm-chart>octopus@https://localhost:4321/","https://localhost:4321/")
✅ NuGetRegistry("nuget","https://api.nuget.org/v3/index.json")
✅ NuGetRegistry("nuget>http://localhost:5555/v3/index.json","http://localhost:5555/v3/index.json")
✅ Bake.Tests.UnitTests.Services.DotNetTfmParserTests
✅ Success("net35","3.5.0",NetFramework)
✅ Success("net403","4.0.3",NetFramework)
✅ Success("net452","4.5.2",NetFramework)
✅ Success("net48","4.8.0",NetFramework)
✅ Success("net5.0","5.0.0",Net)
✅ Success("netcoreapp2.0","2.0.0",Net)
✅ Success("netcoreapp3.1","3.1.0",Net)
✅ Success("netstandard2.1","2.1.0",NetStandard)
✅ Bake.Tests.UnitTests.Services.GoModParserTests
✅ Success("module example.com/mymodule","mymodule","")
✅ Success("module example.com/mymodule/v2","mymodule","2")
✅ Success("module example.com/path/my.module/v2","my.module","2")
✅ Success("module example.com/path/mymodule/v2","mymodule","2")
✅ Success("module my-module/v3","my-module","3")
✅ Success("module my.module/v3","my.module","3")
✅ Success("module mymodule","mymodule","")
✅ Success("module mymodule/v3","mymodule","3")
✅ Bake.Tests.UnitTests.Services.PlatformParserTests
✅ Success("linux/x64",Linux,Intel64)
✅ Success("win/x86",Windows,Intel32)
✅ Bake.Tests.UnitTests.Services.ReleaseNotesParserTests
✅ CanParse
✅ Bake.Tests.UnitTests.Services.RunnerFactoryTests
✅ ReadStdOut
✅ Bake.Tests.UnitTests.Services.YamlTests
✅ DeserializeSemVer("1.2.3")
✅ Recipe
✅ Recipes
✅ SerializeSemVer("1.2.3")
Loading