Skip to content

ExtrinsicFunctions - Code coverage when ExtrinsicFunctions are enabled #54

@stevelee12

Description

@stevelee12

Hi

I've been writting tests for Cache ObjectScript routines and all was working OK.
Today, I had to enable ExtrinsicFunctions on the IRIS Container instance that runs the tests as our production code requires them.
Since enabling this I get the following error:

TestCoverage-v3.1.0.xml:

Collecting coverage data for all tests: 2.68131 seconds
Mapping to class/routine coverage:
ERROR #5540: SQLCODE: -149 Message: SQL Function TESTCOVERAGE.BITWISE_OR failed with error:  SQLCODE=-400,%msg=ERROR #5002: ObjectScript error: <ZSQER>%0AmIm9l9tudf+1^%sqlcq.MYNS.xEgcWXTGyQAeZs1SQwetG1ClxqO1.1
Use the following URL to view the result:

TestCoverage-v4.0.3.xml

Collecting coverage data for all tests: 3.384454 seconds
Mapping to class/routine coverage:
ERROR #5540: SQLCODE: -149 Message: SQL Function TESTCOVERAGE.BITWISE_OR failed with error:  SQLCODE=-400,%msg=ERROR #5002: ObjectScript error: <ZSQER>%0AmIm9l9tudf+1^%sqlcq.MYNS.xEgcWXTGyQAeZs1SQwetG1ClxqO1.1
Use the following URL to view the result:

$ZV:
IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2022.1.5 (Build 940U) Thu Apr 18 2024 14:30:11 EDT

The code coverage output is partial, it likely stops mid way through.

If I disable ExtrinsicFunctions and run the same code, the error doesnt happen (however I'm unable to unit test my code)

Is this a known issue?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcustomer

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions