fix test_redirect: add missing raise

Change-Id: I9416b2970f4d8e38155d513542aee459f220bd50
Merge "fix test_redirect: add missing raise"