diff --git a/tests/test_output.py b/tests/test_output.py
index <HASH>..<HASH> 100644
--- a/tests/test_output.py
+++ b/tests/test_output.py
@@ -123,7 +123,9 @@ def test_annotation():
     __test_fail = raises(librosa.ParameterError)(__test)
 
     srand()
-    times = np.random.randn(20, 2)
+    # Make times and durations strictly non-negative
+    times = np.random.randn(20, 2)**2
+    times = np.cumsum(times, axis=1)
 
     for annotations in [None, ['abcde'[q]
                                for q in np.random.randint(0, 5, size=len(times))], list('abcde')]:
fixed a failing unit test for output with new valid_intervals logic