 
 class TimerTests: XCTestCase
 {
+  let delay: Int64 = 50_000
+
   func testTimer()
   {
     let start = mach_absolute_time()
-
-    let delay: Int64 = 5_000_000
 
     let time1 = dispatch_time(DISPATCH_TIME_NOW, delay)
     let rx1 = Timer(time1)


    for var i = 0, j = 0; i < 10; j++
    {
      let timer = Timer(delay: 50_000)
      if let selection = select(selectables + [timer])
      {
        XCTAssert(j == i)
        if selection.id === timer
        {
          if let _ = timer.extract(selection)
          {
            XCTFail("Timers must return nil from extract()")
          }
          i++
        }
        else
        {
          XCTFail("Incorrect selection")
          break
        }
      }
    }

    <-rx3
    rx3.close()
    XCTAssert(rx3.isClosed)

    let dt = mach_absolute_time() - start
    XCTAssert(dt > numericCast(2*delay))
