Home | History | Annotate | Download | only in site_utils

Lines Matching full:timestamp

180     """Create a timestamp for use by `job_directories._is_job_expired()`.
182 The timestamp will meet the syntactic requirements for
184 `is_expired` is true, the timestamp will be older than
189 target timestamp.
190 @param is_expired Whether the timestamp should be expired
207 timestamp = _make_timestamp(_TEST_EXPIRATION_AGE, True)
210 _TEST_EXPIRATION_AGE, timestamp))
217 timestamp = _make_timestamp(_TEST_EXPIRATION_AGE, False)
220 _TEST_EXPIRATION_AGE, timestamp))
510 Assert that the returned timestamp matches the passed
534 """Test getting the timestamp for a finished regular job.
549 """Test getting the timestamp for a regular job with multiple hqes.
556 Tests that the returned timestamp is the latest timestamp in
576 """Test getting the timestamp for an aborted regular job.
584 timestamp = _make_timestamp(0, True)
585 self._check_finished_job(timestamp, [], timestamp)
589 """Test getting the timestamp for an unfinished regular job.
605 """Test getting the timestamp for a finished special job.
614 timestamp = _make_timestamp(0, True)
617 [_MockSpecialTask(timestamp)])
619 self.assertEqual(timestamp,
625 """Test getting the timestamp for an unfinished special job.
878 job's timestamp to be set in the future. This is done so as
880 as eligible for offload, regardless of the timestamp's value.