TimerTest: invert order of tasks for tests about exception and cancelling

The tests checking for timer cancellation after exception were
scheduling two tasks. First, one to that throws an exception (supposed
to cancel the timer) and another one that shouldn't execute (but
should be scheduled) because of the timer being cancelled.

In some interleavings, the first task would execute before the second
one was even scheduled, and the test would fail when trying to schedule
on a cancelled timer.

Inverting the order so that the one that doesn't cancel the Timer
gets scheduled first.

Also, set two different increment amounts between threads, to make
that the one that executed is the intended one.

Bug: 26147977

(cherry picked from commit e3f79caf396d7a3a27a4a55ece1a65e7603cf0cc)

Change-Id: I31e206367c889cc1753c7f12d8254360be8c5c69
1 file changed