Fixes #3255 : Fix migration test process

linked to http://www.rudder-project.org/redmine/issues/3255

to be merged in master