A method is provided for testing a magnetoresistive sensor for polarity reversal.
In one embodiment, the method includes: writing a test pattern on a magnetic disk;
providing a mechanical or thermal stress to the magnetoresistive sensor for a period
of time; and, comparing the polarity of the test pattern before and after the application
of stress.