lwm2m tests refactoring by comments
This commit is contained in:
		
							parent
							
								
									be23dd2f7c
								
							
						
					
					
						commit
						3c7ec8b7d3
					
				@ -74,7 +74,7 @@ public class TbTestWebSocketClient extends WebSocketClient {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public String waitForUpdate() {
 | 
					    public String waitForUpdate() {
 | 
				
			||||||
        return waitForUpdate(TimeUnit.SECONDS.toMillis(8));
 | 
					        return waitForUpdate(TimeUnit.SECONDS.toMillis(3));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public String waitForUpdate(long ms) {
 | 
					    public String waitForUpdate(long ms) {
 | 
				
			||||||
 | 
				
			|||||||
@ -16,7 +16,6 @@
 | 
				
			|||||||
package org.thingsboard.server.transport.lwm2m;
 | 
					package org.thingsboard.server.transport.lwm2m;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import com.fasterxml.jackson.core.type.TypeReference;
 | 
					import com.fasterxml.jackson.core.type.TypeReference;
 | 
				
			||||||
import lombok.extern.slf4j.Slf4j;
 | 
					 | 
				
			||||||
import org.apache.commons.io.IOUtils;
 | 
					import org.apache.commons.io.IOUtils;
 | 
				
			||||||
import org.eclipse.californium.core.network.config.NetworkConfig;
 | 
					import org.eclipse.californium.core.network.config.NetworkConfig;
 | 
				
			||||||
import org.eclipse.leshan.client.object.Security;
 | 
					import org.eclipse.leshan.client.object.Security;
 | 
				
			||||||
 | 
				
			|||||||
@ -200,8 +200,6 @@ public class OtaLwM2MIntegrationTest extends AbstractOtaLwM2MIntegrationTest {
 | 
				
			|||||||
     * */
 | 
					     * */
 | 
				
			||||||
    @Test
 | 
					    @Test
 | 
				
			||||||
    public void testSoftwareUpdateByObject9() throws Exception {
 | 
					    public void testSoftwareUpdateByObject9() throws Exception {
 | 
				
			||||||
//        String endpoint = "Ota9_Device";
 | 
					 | 
				
			||||||
//        setEndpoint(endpoint);
 | 
					 | 
				
			||||||
        createDeviceProfile(OTA_TRANSPORT_CONFIGURATION);
 | 
					        createDeviceProfile(OTA_TRANSPORT_CONFIGURATION);
 | 
				
			||||||
        NoSecClientCredential credentials = createNoSecClientCredentials(this.CLIENT_ENDPOINT_OTA9);
 | 
					        NoSecClientCredential credentials = createNoSecClientCredentials(this.CLIENT_ENDPOINT_OTA9);
 | 
				
			||||||
        final Device device = createDevice(credentials);
 | 
					        final Device device = createDevice(credentials);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user