Done
Details
Assignee
Serhii_NoskoSerhii_NoskoReporter
Serhii_NoskoSerhii_NoskoPriority
P3Story Points
1Sprint
NoneDevelopment Team
ThunderjetFix versions
Release
Morning Glory (R2 2022) Bug FixRCA Group
Implementation coding issueTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Serhii_Nosko
Serhii_NoskoReporter
Serhii_Nosko
Serhii_NoskoPriority
Story Points
1
Sprint
None
Development Team
Thunderjet
Fix versions
Release
Morning Glory (R2 2022) Bug Fix
RCA Group
Implementation coding issue
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created July 7, 2022 at 1:45 PM
Updated August 25, 2022 at 6:28 AM
Resolved July 14, 2022 at 8:37 AM
Time to time when running Jenkins pipeline for mod-orders the test PurchaseOrderLinesApiTest::testPutElecOrderLineByIdWhenSpecificElementIsPresentAndProtectedFieldsChanged fails.
After redeploying module - it passes again.
Seems it can be connected with asynchronous calls.
Example of failing test on Jenkins:
1. https://jenkins-aws.indexdata.com/job/folio-org/job/mod-orders/view/tags/job/v12.4.0/1/testReport/junit/org.folio/ApiTestSuite$PurchaseOrderLinesApiTestNested/testPutElecOrderLineByIdWhenSpecificElementIsPresentAndProtectedFieldsChanged_OrderFormat__1_/
2. ApiTestSuite$PiecesProtectionTestNested>PiecesProtectionTest.testWithProtectedUnitsAndForbiddenUser:122
Log :
For both tests exceptions are same
Quick investigation result : Looks like Event for updating line is sent but should not be
Locally I tried to reproduce failure couple of times, but without success, need to investigate reasons of these random failures on Jenkins and fix test or code.