Skip to content

Use TestContainers for Azurite#19162

Open
hishamco wants to merge 2 commits intoskrypt/media-azure-gen2from
hishamco/media-azure-gen2
Open

Use TestContainers for Azurite#19162
hishamco wants to merge 2 commits intoskrypt/media-azure-gen2from
hishamco/media-azure-gen2

Conversation

@hishamco
Copy link
Copy Markdown
Member

No description provided.

@hishamco
Copy link
Copy Markdown
Member Author

@Skrypt seems several tests have been broken, please chim in

@Skrypt
Copy link
Copy Markdown
Contributor

Skrypt commented Apr 17, 2026

On my PR I used a custom Docker image of Azurite that I'm hosting on my own Github account because Azurite doesn't support Azure Blob Storage Gen 2.

Azure/Azurite#2635

You won't be able to use TestContainers for this one. Not yet at least.

@Skrypt Skrypt changed the base branch from main to skrypt/media-azure-gen2 April 17, 2026 14:06
@hishamco
Copy link
Copy Markdown
Member Author

Let's stay with your PR for now

@@ -1,90 +0,0 @@
name: Integration Tests
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was intentional to add this in the original PR. Now you are changing the CI behavior to run these integration tests on triggers that are not necessary.

src/OrchardCore.Mvc.Web/App_Data_Tests/logs
test/OrchardCore.Tests.Functional/traces
retention-days: 3
- name: Integration Tests
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we should keep the original integration_tests.yml file.

src/OrchardCore.Mvc.Web/App_Data_Tests/logs
test/OrchardCore.Tests.Functional/traces
retention-days: 3
- name: Integration Tests
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above.

src/OrchardCore.Mvc.Web/App_Data_Tests/logs
test/OrchardCore.Tests.Functional/traces
retention-days: 3
- name: Integration Tests
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

protected override bool IsHnsEnabled => true;

[AzuriteFact]
[Fact]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These will all fail because Azurite does not support Gen 2 storage type yet.

@Skrypt
Copy link
Copy Markdown
Contributor

Skrypt commented Apr 17, 2026

Retargeted your branch to my branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants