| | |
| | | return success(testService.selectTestById(testId)); |
| | | } |
| | | |
| | | /** 人工结束接收动作别名;与停止测试共用原子关闭区间和释放租约事务。 */ |
| | | /** 人工结束接收动作别名;与停止测试共用停止请求并进入不可恢复终态的事务。 */ |
| | | @PreAuthorize("@ss.hasPermi('system:test:stop')") |
| | | @Log(title = "人工结束接收", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/{testId}/reception/end") |
| | |
| | | class DeviceDiscoveryPersistenceServiceTest |
| | | { |
| | | @Test |
| | | void pausedOrEndedTestsDoNotStopDeviceDiscovery() |
| | | void discoveryPersistsCandidatesWithoutReceivingTest() |
| | | { |
| | | InMemoryDeviceDiscoveryCandidateStore candidateStore = new InMemoryDeviceDiscoveryCandidateStore(); |
| | | TDetectionCabinetMapper cabinetMapper = Mockito.mock(TDetectionCabinetMapper.class); |