Skip to content

Remove MVTC experimental flag#7622

Merged
XingY merged 4 commits intodevelopfrom
fb_enableMvtc
Apr 28, 2026
Merged

Remove MVTC experimental flag#7622
XingY merged 4 commits intodevelopfrom
fb_enableMvtc

Conversation

@XingY
Copy link
Copy Markdown
Contributor

@XingY XingY commented Apr 27, 2026

Rationale

Remove multiChoiceDataType experimental flag from code and tests

Related Pull Requests

Changes

public void testAssayMultiFileImportForMVTC() throws Exception
{
Assume.assumeTrue("Multi-choice text fields are only supported on PostgreSQL", WebTestHelper.getDatabaseType() == WebTestHelper.DatabaseType.PostgreSQL);
OptionalFeatureHelper.enableOptionalFeature(getCurrentTest().createDefaultConnection(), "multiChoiceDataType");
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.

minor: looks like this test and some others in the various PRs here have an unused import of OptionalFeatureHelper that can be removed.

@@ -189,7 +189,6 @@ public void testDatasets()
public void testDatasetWithMultiChoice()
{
Assume.assumeTrue("Multi-choice text fields are only supported on PostgreSQL", WebTestHelper.getDatabaseType() == WebTestHelper.DatabaseType.PostgreSQL);
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.

unrelated to this PR, but the tests that have this check, do they just fail in MSSQL runs? seems like we'd instead just want to return if not postgres so that the test "passes" and doesn't cause noise on TC.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Looking at the documentation, a failed assume would halt and ignore the rest of the test, which sounds correct.

@XingY XingY merged commit 4538342 into develop Apr 28, 2026
6 of 9 checks passed
@XingY XingY deleted the fb_enableMvtc branch April 28, 2026 16:58
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