issue #3419 fix bug for TriggerTest.