issue #3419 fix bug for TriggerTest.
Merge pull request #299 from xingsenma/master

issue #3419 fix bug for TriggerTest.