fix bug: lwm2m tests dif Port 4
This commit is contained in:
		
							parent
							
								
									d876fc8bfe
								
							
						
					
					
						commit
						6c3c9f99b9
					
				@ -148,7 +148,7 @@ public class TbInMemoryRegistrationStore implements RegistrationStore, Startable
 | 
				
			|||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
    public UpdatedRegistration updateRegistration(RegistrationUpdate update) {
 | 
					    public UpdatedRegistration updateRegistration(RegistrationUpdate update) {
 | 
				
			||||||
        // test fix bug Diff port
 | 
					        // test fix bug Diff port
 | 
				
			||||||
        log.warn("updateRegistration inMemory {}", update);
 | 
					        log.trace("updateRegistration inMemory {}", update);
 | 
				
			||||||
        try {
 | 
					        try {
 | 
				
			||||||
            lock.writeLock().lock();
 | 
					            lock.writeLock().lock();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -223,7 +223,7 @@ public class TbLwM2mRedisRegistrationStore implements RegistrationStore, Startab
 | 
				
			|||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
    public UpdatedRegistration updateRegistration(RegistrationUpdate update) {
 | 
					    public UpdatedRegistration updateRegistration(RegistrationUpdate update) {
 | 
				
			||||||
        // test fix bug Diff port
 | 
					        // test fix bug Diff port
 | 
				
			||||||
        log.warn("updateRegistration Redis {}", update);
 | 
					        log.trace("updateRegistration Redis {}", update);
 | 
				
			||||||
        Lock lock = null;
 | 
					        Lock lock = null;
 | 
				
			||||||
        try (var connection = connectionFactory.getConnection()) {
 | 
					        try (var connection = connectionFactory.getConnection()) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user