Discovery schedule of service cancelled due to timeout, if timeout not set discovery remains activeDescriptionDiscovery schedule of service cancelled due to timeout, if timeout not set discovery remains activeSteps to Reproduce Create a discovery scheduleSet discovery field to "Service" and set a service from "Filter services to discover"Start discovery of service, copy the discovery status numberEventually the discovery_status.started = discovery_status.complete however the status is not marked completeAs soon as discovery_status.started = discovery_status.complete navigate to sa_endpoint_status tableSearch for records where discovery status = the discovery status number from step 3 above AND state != CompletedIf there are records meeting condition from step 6, the discovery will not be marked completeCheck that the schedule either eventually times out, or if a timeout is not set the discovery never gets completedWorkaroundApply patch with fixed version.Related Problem: PRB1475967