- assertEquals(1, nrgList.size(), "RDM infra node - OTSi should contain a single node rule groups");
+ // if no XPDR is connected, no OTS is created and no NodeRuleGroup is created
+ assertTrue(nrgList.size() <= 1, "RDM infra node - OTSi should contain maximum one node rule groups");
+ // When a nrg is present it shall respect the following
+ if (nrgList.isEmpty()) {
+ return;
+ }