Skip to content

Create test for #5898 #6032

@line-o

Description

@line-o

In order to ensure that the fix for eXist-db/monex#299 keeps working in the future, we need to check that the jmx:id is increasing after two consecutive calls to any XQuery

<jmx:RecentQueryHistory>
    <jmx:row>
        <jmx:key>
            <jmx:id>0</jmx:id>
            <jmx:key>String/2351709330981213714</jmx:key>
        </jmx:key>
        <jmx:value>
            <jmx:idx>0</jmx:idx>
            <jmx:mostRecentExecutionDuration>104</jmx:mostRecentExecutionDuration>
            <jmx:mostRecentExecutionTime>1759775605266</jmx:mostRecentExecutionTime>
            <jmx:recentInvocationCount>1</jmx:recentInvocationCount>
            <jmx:requestURI/>
            <jmx:sourceKey>String/2351709330981213714</jmx:sourceKey>
        </jmx:value>
    </jmx:row>
</jmx:RecentQueryHistory>

Test should be added somewhere near https://github.com/nverwer/exist/blob/ab0c76d84a92394488e48427c76d05a54e2632da/exist-core/src/test/java/org/exist/management/JmxRemoteTest.java

refs #5898

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions