X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=dashboard%2Fwebapp-backend%2Fsrc%2Ftest%2Fjava%2Forg%2Foransc%2Fric%2Fportal%2Fdashboard%2FDashboardTestServer.java;h=80a272f3a06bdc48b30d22d36505a9d10fcc74ca;hb=0bf1e8c65fb6b3c2a011e25587500fa45d50d6c0;hp=e19890be8005c62c2bc73346c34c6a6925a200d2;hpb=fb4bc7967a4733d10775351440a3af14327d5f20;p=nonrtric.git diff --git a/dashboard/webapp-backend/src/test/java/org/oransc/ric/portal/dashboard/DashboardTestServer.java b/dashboard/webapp-backend/src/test/java/org/oransc/ric/portal/dashboard/DashboardTestServer.java index e19890be..80a272f3 100644 --- a/dashboard/webapp-backend/src/test/java/org/oransc/ric/portal/dashboard/DashboardTestServer.java +++ b/dashboard/webapp-backend/src/test/java/org/oransc/ric/portal/dashboard/DashboardTestServer.java @@ -3,6 +3,7 @@ * O-RAN-SC * %% * Copyright (C) 2019 AT&T Intellectual Property + * Modifications Copyright (C) 2020 Nordix Foundation * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,8 +20,6 @@ */ package org.oransc.ric.portal.dashboard; -import static org.junit.jupiter.api.Assertions.assertEquals; - import java.lang.invoke.MethodHandles; import org.junit.jupiter.api.Test; @@ -55,6 +54,7 @@ public class DashboardTestServer { * Keeps the test server alive forever. Use a guard so this test is never run by * Jenkins. */ + @SuppressWarnings("squid:S2699") // To avoid warning about missing assertion. @EnabledIfSystemProperty(named = "org.oransc.ric.portal.dashboard", matches = "mock") @Test public void keepServerAlive() { @@ -66,6 +66,5 @@ public class DashboardTestServer { } catch (Exception ex) { logger.warn(ex.toString()); } - assertEquals(1, 2); } }