Fixed a flaky test.
Fixed a flaky test.

This fixes SlaveTest.IgnoreV0ExecutorIfItReregistersWithoutReconnect
to expect the shutdown to occur at most once, since it's possible
that when the test objects are being destructed, the executor's
shutdown method is not called.

Review: https://reviews.apache.org/r/64355

abudnik/mesos,dforsyth/mesos,andschwa/mesos,Gilbert88/mesos,gsantovena/mesos,asamerh4/mesos,chhsia0/mesos,gsantovena/mesos,gsantovena/mesos,dforsyth/mesos,dforsyth/mesos,Gilbert88/mesos,andschwa/mesos,andschwa/mesos,reneploetz/mesos,kaysoky/mesos,dforsyth/mesos,Gilbert88/mesos,abudnik/mesos,jpeach/mesos,reneploetz/mesos,reneploetz/mesos,asamerh4/mesos,jpeach/mesos,kaysoky/mesos,gsantovena/mesos,kaysoky/mesos,kaysoky/mesos,andschwa/mesos,reneploetz/mesos,reneploetz/mesos,andschwa/mesos,chhsia0/mesos,Gilbert88/mesos,abudnik/mesos,reneploetz/mesos,reneploetz/mesos,Gilbert88/mesos,jpeach/mesos,andschwa/mesos,jpeach/mesos,abudnik/mesos,asamerh4/mesos,jpeach/mesos,asamerh4/mesos,chhsia0/mesos,chhsia0/mesos,gsantovena/mesos,asamerh4/mesos,kaysoky/mesos,dforsyth/mesos,gsantovena/mesos,abudnik/mesos,andschwa/mesos,asamerh4/mesos,Gilbert88/mesos,chhsia0/mesos,jpeach/mesos,chhsia0/mesos,dforsyth/mesos,Gilbert88/mesos,dforsyth/mesos,asamerh4/mesos,kaysoky/mesos,gsantovena/mesos,chhsia0/mesos,jpeach/mesos,kaysoky/mesos,abudnik/mesos,abudnik/mesos