private void After()
        {
            Logging.LogWithTime("Spinning started");
            SpinWaitEx.SpinUntil(ModelLifetime, SpinningTimeout, () => false);
            Logging.LogWithTime("Spinning finished");

            SocketLifetimeDef.Terminate();
            ModelLifetimeDef.Terminate();
        }
Exemple #2
0
        protected void After()
        {
            SpinWaitEx.SpinUntil(ModelLifetime, 10_000, () => Finished);
            SpinWaitEx.SpinUntil(ModelLifetime, 1_000, () => false);

            SocketLifetimeDef.Terminate();
            ModelLifetimeDef.Terminate();

            using (myOutputFile)
            {
                myOutputFile.Write(Printer.ToString());
            }
        }