fixing ExpireTestOnRestartTest
Merge pull request #881 from clebertsuconic/Branch_2_2_AS7

fixing ExpireTestOnRestartTest