[T8TSK-227]Optimize sink code of factory test

Change-Id: Ieecbc1d3c93bc86b7002f23fc02b00ec53b53cc9
1 file changed