-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
with ipm wrapper as a workaround for #5 from here https://github.com/intersystems-community/zpm-dockerhub/blob/master/iris_ipm.py
Emoty UnitTest randomly fails with error A test left a transactions suspended
>>> iris.ipm('test demo -v -only')
[USER|demo] Test START
Load of directory started on 09/08/2023 11:25:17
Loading file /home/irisowner/app/tests/test/dc.cls as cls
Imported class: test.dc
Load finished successfully.
Compilation started on 09/08/2023 11:25:17 with qualifiers 'ckd'
Compiling class test.dc
Compiling routine test.dc.1
Compilation finished successfully in 0.008s.
===============================================================================
Directory: /home/irisowner/app/tests/test/
===============================================================================
(root) begins ...
Load of directory started on 09/08/2023 11:25:17 '*.xml;*.XML;*.cls;*.mac;*.int;*.inc;*.CLS;*.MAC;*.INT;*.INC'
Loading file /home/irisowner/app/tests/test/dc.cls as udl
Compilation started on 09/08/2023 11:25:17 with qualifiers '/display=all/nodelete'
Compiling class test.dc
Compiling routine test.dc.1
Compilation finished successfully in 0.007s.
Load finished successfully.
test.dc begins ...
TestNothing() begins ...
LogMessage:Duration of execution: .000002 sec.
TestNothing passed
LogStateStatus:0:Cleanup: ERROR #5001: A test left a transactions suspended <<==== **FAILED** (root):test.dc:
test.dc failed
Skipping deleting classes
(root) failed
Use the following URL to view the result:
http://172.17.0.4:52773/csp/sys/%25UnitTest.Portal.Indices.cls?Index=14&$NAMESPACE=USER
Some tests FAILED in suites:
[demo] Test FAILURE
ERROR! 1 test suite(s) failed.
module.xml
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25">
<Document name="demo.ZPM">
<Module>
<Name>demo</Name>
<Version>1.0.0</Version>
<Keywords>demo</Keywords>
<Description>demo</Description>
<Packaging>module</Packaging>
<SourcesRoot>src</SourcesRoot>
<UnitTest Name="/tests/" Package="test" Phase="test"/>
</Module>
</Document>
</Export>
test class tests/test/dc.cls
Class test.dc Extends %UnitTest.TestCase
{
Method TestNothing()
{
}
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working