Skip to content

Test UsageMetrics inconsistent descriptions in production mode too - #8251

Merged
labkey-jeckels merged 1 commit into
developfrom
fb_fix_metrics_test
Oct 28, 2026
Merged

labkey-jeckels merged 1 commit into
developfrom
fb_fix_metrics_test

Conversation

@labkey-jeckels

Copy link
Copy Markdown
Contributor

Rationale

Fixes the UsageMetrics$TestCase.testRepeatedDescriptions failure in production-mode suites, which expected an exception that is only thrown in dev mode. First failed in https://teamcity.labkey.org/buildConfiguration/LabKey_Trunk_Premium_DistributionSuites_ProductionCommunityPostgres/4238610

Changes

  • Expect an exception for inconsistent descriptions only in dev mode; in production mode, verify the first description is kept and the value is still recorded.

@labkey-jeckels
labkey-jeckels merged commit bbf2f05 into develop Oct 28, 2026
9 of 10 checks passed
@labkey-jeckels
labkey-jeckels deleted the fb_fix_metrics_test branch October 28, 2026 23:49
XingY pushed a commit that referenced this pull request Oct 29, 2026
…8251)

## Rationale
Fixes the `UsageMetrics$TestCase.testRepeatedDescriptions` failure in
production-mode suites, which expected an exception that is only thrown
in dev mode. First failed in
https://teamcity.labkey.org/buildConfiguration/LabKey_Trunk_Premium_DistributionSuites_ProductionCommunityPostgres/4238610

## Changes
- Expect an exception for inconsistent descriptions only in dev mode; in
production mode, verify the first description is kept and the value is
still recorded.
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