Skip to content

Add lib and grpc time data types and conversions to enable future NI-… #24

Add lib and grpc time data types and conversions to enable future NI-…

Add lib and grpc time data types and conversions to enable future NI-… #24

GitHub Actions / Test Results succeeded Sep 2, 2023 in 0s

All 95 tests pass in 3m 22s

  10 files   -        20    10 suites   - 20   3m 22s ⏱️ - 34m 14s
  95 tests  -   1 047    95 ✔️  -      886  0 💤  -    161  0 ±0 
950 runs   - 16 370  950 ✔️  - 13 940  0 💤  - 2 430  0 ±0 

Results for commit 3b0faac. ± Comparison against earlier commit f9e1a48.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

95 tests found

There are 95 tests, see "Raw output" for the full list of tests.
Raw output
tests.unit.system.storage.test_persisted_task ‑ test___persisted_task___load___load_task_called[False]
tests.unit.system.storage.test_persisted_task ‑ test___persisted_task___load___load_task_called[True]
tests.unit.system.storage.test_persisted_task ‑ test___persisted_task___load___specified_name_saved
tests.unit.test_grpc_time ‑ test___datetime_with_femtoseconds___convert_to_timestamp___is_reversible[base_dt0-0-0]
tests.unit.test_grpc_time ‑ test___datetime_with_femtoseconds___convert_to_timestamp___is_reversible[base_dt1-1-0]
tests.unit.test_grpc_time ‑ test___datetime_with_femtoseconds___convert_to_timestamp___is_reversible[base_dt2-500000-1]
tests.unit.test_grpc_time ‑ test___datetime_with_femtoseconds___convert_to_timestamp___is_reversible[base_dt3-999999-1]
tests.unit.test_grpc_time ‑ test___datetime_with_femtoseconds___convert_to_timestamp___is_reversible[base_dt4-1000000-1]
tests.unit.test_grpc_time ‑ test___datetime_with_femtoseconds___convert_to_timestamp___is_reversible[base_dt5-1000001-1]
tests.unit.test_grpc_time ‑ test___datetime_with_femtoseconds___convert_to_timestamp___is_reversible[base_dt6-1500000-2]
tests.unit.test_grpc_time ‑ test___datetime_with_femtoseconds___convert_to_timestamp___is_reversible[base_dt7-1999999-2]
tests.unit.test_grpc_time ‑ test___datetime_with_femtoseconds___convert_to_timestamp___is_reversible[base_dt8-2000000-2]
tests.unit.test_grpc_time ‑ test___datetime_with_femtoseconds___convert_to_timestamp___is_reversible[base_dt9-2000001-2]
tests.unit.test_grpc_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt0-0-0]
tests.unit.test_grpc_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt1-1-1000]
tests.unit.test_grpc_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt10-750000-750000000]
tests.unit.test_grpc_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt11-999999-999999000]
tests.unit.test_grpc_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt2-250000-250000000]
tests.unit.test_grpc_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt3-500000-500000000]
tests.unit.test_grpc_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt4-750000-750000000]
tests.unit.test_grpc_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt5-999999-999999000]
tests.unit.test_grpc_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt6-0-0]
tests.unit.test_grpc_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt7-1-1000]
tests.unit.test_grpc_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt8-250000-250000000]
tests.unit.test_grpc_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt9-500000-500000000]
tests.unit.test_grpc_time ‑ test___grpc_response___convert_to_timestamp___succeeds[response_dt0]
tests.unit.test_grpc_time ‑ test___grpc_response___convert_to_timestamp___succeeds[response_dt1]
tests.unit.test_grpc_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo0--1800]
tests.unit.test_grpc_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo1-1800]
tests.unit.test_grpc_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo2--3600]
tests.unit.test_grpc_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo3-3600]
tests.unit.test_grpc_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo4--1800]
tests.unit.test_grpc_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo5-1800]
tests.unit.test_grpc_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo6--3600]
tests.unit.test_grpc_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo7-3600]
tests.unit.test_grpc_time ‑ test___utc_datetime___convert_to_grpc_request___succeeds[request_dt0]
tests.unit.test_grpc_time ‑ test___utc_datetime___convert_to_grpc_request___succeeds[request_dt1]
tests.unit.test_grpc_time ‑ test___utc_datetime___convert_to_timestamp___is_reversible[from_dt0]
tests.unit.test_grpc_time ‑ test___utc_datetime___convert_to_timestamp___is_reversible[from_dt1]
tests.unit.test_lib_time ‑ test___datetime_with_femtoseconds___convert_to_timestamp___is_reversible[base_dt0-0-0]
tests.unit.test_lib_time ‑ test___datetime_with_femtoseconds___convert_to_timestamp___is_reversible[base_dt1-1-18447]
tests.unit.test_lib_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt0-0-0]
tests.unit.test_lib_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt1-1-18446744073710]
tests.unit.test_lib_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt10-750000-13835058055282163712]
tests.unit.test_lib_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt11-999999-18446725626965477376]
tests.unit.test_lib_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt2-250000-4611686018427387904]
tests.unit.test_lib_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt3-500000-9223372036854775808]
tests.unit.test_lib_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt4-750000-13835058055282163712]
tests.unit.test_lib_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt5-999999-18446725626965477376]
tests.unit.test_lib_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt6-0-0]
tests.unit.test_lib_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt7-1-18446744073710]
tests.unit.test_lib_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt8-250000-4611686018427387904]
tests.unit.test_lib_time ‑ test___datetime_with_microseconds___convert_to_timestamp___is_reversible[base_dt9-500000-9223372036854775808]
tests.unit.test_lib_time ‑ test___datetime_with_yoctoseconds___convert_to_timestamp___is_reversible[base_dt0-0-0-0]
tests.unit.test_lib_time ‑ test___datetime_with_yoctoseconds___convert_to_timestamp___is_reversible[base_dt1-54210-1-54210]
tests.unit.test_lib_time ‑ test___datetime_with_yoctoseconds___convert_to_timestamp___is_reversible[base_dt2-54211-1-54210]
tests.unit.test_lib_time ‑ test___timestamps___sort___is_ordered
tests.unit.test_lib_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo0--1800]
tests.unit.test_lib_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo1-1800]
tests.unit.test_lib_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo2--3600]
tests.unit.test_lib_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo3-3600]
tests.unit.test_lib_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo4--1800]
tests.unit.test_lib_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo5-1800]
tests.unit.test_lib_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo6--3600]
tests.unit.test_lib_time ‑ test___tz_datetime___convert_to_timestamp___is_reversible[datetime-tzinfo7-3600]
tests.unit.test_lib_time ‑ test___utc_datetime___convert_to_timestamp___is_reversible[from_dt0]
tests.unit.test_lib_time ‑ test___utc_datetime___convert_to_timestamp___is_reversible[from_dt1]
tests.unit.test_task ‑ test___call_alternate_constructor___create_task_not_called[False]
tests.unit.test_task ‑ test___call_alternate_constructor___create_task_not_called[True]
tests.unit.test_task ‑ test___close_on_exit___context_manager___clear_task_called
tests.unit.test_task ‑ test___close_on_exit___leak_task___raises_resource_warning
tests.unit.test_task ‑ test___close_on_exit_with_alternate_constructor___leak_task___raises_resource_warning
tests.unit.test_task ‑ test___close_on_exit_with_alternate_constructor_and_grpc_options___leak_task___resource_warning_not_raised
tests.unit.test_task ‑ test___close_on_exit_with_grpc_options___leak_task___resource_warning_not_raised
tests.unit.test_task ‑ test___init___generated_name_saved
tests.unit.test_task ‑ test___init_with_grpc_options___select_interpreter_called_with_grpc_options
tests.unit.test_task ‑ test___init_with_name___create_task_called[False]
tests.unit.test_task ‑ test___init_with_name___create_task_called[True]
tests.unit.test_task ‑ test___init_with_name___specified_name_saved
tests.unit.test_task ‑ test___init_with_name_and_grpc_options___specified_name_saved
tests.unit.test_task ‑ test___init_with_name_and_grpc_options_with_mismatched_name___daqerror_raised
tests.unit.test_task ‑ test___init_with_name_and_grpc_options_with_specified_name___specified_name_saved
tests.unit.test_task ‑ test___no_close_on_exit___context_manager___clear_task_not_called
tests.unit.test_task ‑ test___varying_close_on_exit___close___clear_task_called[False]
tests.unit.test_task ‑ test___varying_close_on_exit___close___clear_task_called[True]
tests.unit.test_task_events ‑ test___events_registered_and_clear_task_error_raised___close___task_resources_cleaned_up_and_clear_task_error_raised
tests.unit.test_task_events ‑ test___events_registered_and_close_event_handler_error_raised___close___task_resources_cleaned_up_and_close_event_handler_error_raised[_TaskEventType.DONE]
tests.unit.test_task_events ‑ test___events_registered_and_close_event_handler_error_raised___close___task_resources_cleaned_up_and_close_event_handler_error_raised[_TaskEventType.EVERY_N_SAMPLES_ACQUIRED_INTO_BUFFER]
tests.unit.test_task_events ‑ test___events_registered_and_close_event_handler_error_raised___close___task_resources_cleaned_up_and_close_event_handler_error_raised[_TaskEventType.EVERY_N_SAMPLES_TRANSFERRED_FROM_BUFFER]
tests.unit.test_task_events ‑ test___events_registered_and_close_event_handler_error_raised___close___task_resources_cleaned_up_and_close_event_handler_error_raised[_TaskEventType.SIGNAL]
tests.unit.test_task_events ‑ test___events_registered_and_multiple_errors_raised___close___task_resources_cleaned_up_and_first_error_raised
tests.unit.test_task_events ‑ test___grpc_event_registered___leak_task___raises_resource_warning[_TaskEventType.DONE]
tests.unit.test_task_events ‑ test___grpc_event_registered___leak_task___raises_resource_warning[_TaskEventType.EVERY_N_SAMPLES_ACQUIRED_INTO_BUFFER]
tests.unit.test_task_events ‑ test___grpc_event_registered___leak_task___raises_resource_warning[_TaskEventType.EVERY_N_SAMPLES_TRANSFERRED_FROM_BUFFER]
tests.unit.test_task_events ‑ test___grpc_event_registered___leak_task___raises_resource_warning[_TaskEventType.SIGNAL]