Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Integration account integration tests fail #276

Closed
stijnmoreels opened this issue Mar 4, 2022 · 4 comments
Closed

Azure Integration account integration tests fail #276

stijnmoreels opened this issue Mar 4, 2022 · 4 comments
Assignees
Labels
area:integration-account All issues related to Azure Integration Account automated-testing All issues related to automated testing bug Something isn't working
Milestone

Comments

@stijnmoreels
Copy link
Member

Describe the bug
Currently, we don't have working Azure Integration Account integration tests on master.

To Reproduce
Steps to reproduce the behavior:
Run the integration tests (on any environment).

Expected behavior
All green.

Additional context
Add any other context about the problem here.

  • Current version on master
##[error] [-] Arcus Azure Integration Account integration tests.Uploading Certificates into an Azure Integration Account.Create a single private certificate in an Integration Account succeeds 2.59s (2.58s|1ms)
##[error]  KeyVaultErrorException: Operation returned an invalid status code 'Conflict'
##[error]  at <ScriptBlock>, D:\a\1\s\src\Arcus.Scripting.Tests.Integration\Arcus.Scripting.IntegrationAccount.tests.ps1:711

##[error] [-] Arcus Azure Integration Account integration tests.Uploading Certificates into an Azure Integration Account.Create a single private certificate, with prefix, in an Integration Account succeeds 21.87s (21.87s|2ms)
##[error]  KeyVaultErrorException: Operation returned an invalid status code 'Conflict'
##[error]  at <ScriptBlock>, D:\a\1\s\src\Arcus.Scripting.Tests.Integration\Arcus.Scripting.IntegrationAccount.tests.ps1:760

##[error] [-] Arcus Azure Integration Account integration tests.Uploading Maps into an Azure Integration Account.Create multiple maps located in a folder in an Integration Account succeeds 38.88s (38.88s|3ms)
##[error]  Expected collection @('2022-03-04T08:00:18', '2022-03-04T08:00:17') to contain '2022-03-04T08:00:16', but it was not found.
##[error]  at $actual.CreatedTime.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss") | Should -BeIn ($actual.ChangedTime.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss"), $actual.ChangedTime.ToUniversalTime().AddSeconds(-1).ToString("yyyy-MM-ddTHH:mm:ss")), D:\a\1\s\src\Arcus.Scripting.Tests.Integration\Arcus.Scripting.IntegrationAccount.tests.ps1:337
##[error]  at <ScriptBlock>, D:\a\1\s\src\Arcus.Scripting.Tests.Integration\Arcus.Scripting.IntegrationAccount.tests.ps1:337

https://dev.azure.com/codit/Arcus/_build/results?buildId=59774&view=logs&j=567e6187-e8de-5277-0318-ead044892436&t=d0c07584-3e4c-55c5-6fa8-89892ea17d50

@stijnmoreels stijnmoreels added automated-testing All issues related to automated testing bug Something isn't working area:integration-account All issues related to Azure Integration Account labels Mar 4, 2022
@stijnmoreels stijnmoreels added this to the v0.6.0 milestone Mar 4, 2022
@stijnmoreels stijnmoreels changed the title Integration account integration test fail Integration account integration tests fail Mar 4, 2022
@stijnmoreels stijnmoreels changed the title Integration account integration tests fail Azure Integration account integration tests fail Mar 4, 2022
@stijnmoreels
Copy link
Member Author

@pim-simons , maybe you can shed some light here?

@pim-simons
Copy link
Contributor

@pim-simons , maybe you can shed some light here?

Will take a look next week, currently enjoying some time off ;-)

@stijnmoreels
Copy link
Member Author

@pim-simons , maybe you can shed some light here?

Will take a look next week, currently enjoying some time off ;-)

😅 Of course, was only tagging you here. I think I already found/fixed the problem.

@stijnmoreels stijnmoreels self-assigned this Mar 4, 2022
@stijnmoreels
Copy link
Member Author

stijnmoreels commented Mar 8, 2022

All green again! Fixed in #277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:integration-account All issues related to Azure Integration Account automated-testing All issues related to automated testing bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants