File tree Expand file tree Collapse file tree
application/src/test/java/org/thingsboard/server/transport/lwm2m/ota Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737import java .util .List ;
3838import java .util .Optional ;
3939import java .util .UUID ;
40- import java .util .concurrent .TimeUnit ;
4140import java .util .stream .Collectors ;
4241
43- import static org .awaitility .Awaitility .await ;
4442import static org .junit .Assert .assertEquals ;
4543import static org .springframework .test .web .servlet .result .MockMvcResultMatchers .status ;
4644import static org .thingsboard .rest .client .utils .RestJsonConverter .toTimeseries ;
@@ -251,9 +249,6 @@ protected boolean predicateForStatuses(List<TsKvEntry> ts) {
251249 }
252250
253251 protected void resultReadOtaParams_19 (String resourceIdVer , OtaPackageInfo otaPackageInfo ) throws Exception {
254- await ("await on Read" )
255- .atMost (TIMEOUT *2 , TimeUnit .SECONDS )
256- .until (() -> Boolean .valueOf (sendRPCById (resourceIdVer )));
257252 String actualResult = sendRPCById (resourceIdVer );
258253 ObjectNode rpcActualResult = JacksonUtil .fromString (actualResult , ObjectNode .class );
259254 assertEquals (ResponseCode .CONTENT .getName (), rpcActualResult .get ("result" ).asText ());
You can’t perform that action at this time.
0 commit comments