summaryrefslogtreecommitdiffstats
path: root/tests/resourcecontroltest.cpp
Commit message (Collapse)AuthorAge
* Avoid the socket probing and move the shutdown logic intoChristian Mollekopf2018-07-25
resourceaccess. The problem was (as excercised by the last test in resourcecontroltest), that in this scenario we would: * trigger a synchronization that starts the resource, and then goes into a loop trying to connecting (KAsync::wait -> singleshot timer) * trigger a shutdown that would probe for the socket, not find it, and thus do nothing. * exit the testfunction, which somehow stops qtimer processing, meaning we are stuck in KAsync::wait. For now this is fixed by simply not probing for the socket.