Fix ThriftQueryServiceTest (ThriftQueryService uses getTracesDuration).