Commit 9c54c8e
authored
Task 1614: Fix tests that are ignored on Windows and MacOS (open-telemetry#2724)
# Change Summary
Fix tests that are ignored on Windows and MacOS
## What issue does this PR close?
* Closes open-telemetry#1614
## How are these changes tested?
By running the reenabled tests.
## Are there any user-facing changes?
Yes, one production code change:
Windows CA certificate hot-reload fix - The get_file_identity() function
now uses MetadataExt::last_write_time() (100ns-precision FILETIME) on
Windows instead of the platform-fallback get_mtime() which truncated to
whole seconds. Previously, if a CA certificate file was replaced within
the same second (e.g., by automation or cert-manager), the file watcher
could miss the change entirely, leaving stale CA certificates in memory
until the next reload event. This affects any Windows deployment using
mTLS with watch_client_ca: true.
All other changes are test-only (removing #[ignore] attributes and
fixing test assertions for cross-platform compatibility).1 parent fdb01e3 commit 9c54c8e
11 files changed
Lines changed: 66 additions & 106 deletions
File tree
- rust/otap-dataflow
- .config
- crates
- core-nodes/src
- exporters
- otap_exporter
- otlp_grpc_exporter
- parquet_exporter
- receivers/otlp_receiver
- otap
- src
- otap_grpc
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
855 | | - | |
856 | 855 | | |
857 | | - | |
858 | 856 | | |
859 | 857 | | |
860 | 858 | | |
| |||
Lines changed: 16 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
862 | 862 | | |
863 | 863 | | |
864 | 864 | | |
865 | | - | |
| 865 | + | |
866 | 866 | | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
867 | 871 | | |
868 | 872 | | |
869 | 873 | | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
870 | 878 | | |
871 | 879 | | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
872 | 884 | | |
873 | 885 | | |
874 | 886 | | |
| |||
883 | 895 | | |
884 | 896 | | |
885 | 897 | | |
| 898 | + | |
886 | 899 | | |
| 900 | + | |
887 | 901 | | |
888 | 902 | | |
889 | 903 | | |
| |||
893 | 907 | | |
894 | 908 | | |
895 | 909 | | |
896 | | - | |
897 | | - | |
898 | | - | |
899 | | - | |
900 | | - | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | | - | |
905 | | - | |
906 | | - | |
907 | | - | |
908 | | - | |
909 | | - | |
910 | | - | |
911 | | - | |
912 | | - | |
913 | | - | |
914 | | - | |
915 | 910 | | |
916 | 911 | | |
917 | 912 | | |
| |||
1153 | 1148 | | |
1154 | 1149 | | |
1155 | 1150 | | |
1156 | | - | |
1157 | | - | |
1158 | 1151 | | |
1159 | 1152 | | |
1160 | 1153 | | |
| |||
1181 | 1174 | | |
1182 | 1175 | | |
1183 | 1176 | | |
| 1177 | + | |
1184 | 1178 | | |
1185 | 1179 | | |
1186 | 1180 | | |
| |||
1458 | 1452 | | |
1459 | 1453 | | |
1460 | 1454 | | |
1461 | | - | |
1462 | 1455 | | |
1463 | 1456 | | |
1464 | 1457 | | |
| |||
1470 | 1463 | | |
1471 | 1464 | | |
1472 | 1465 | | |
1473 | | - | |
1474 | 1466 | | |
1475 | 1467 | | |
1476 | 1468 | | |
| |||
1479 | 1471 | | |
1480 | 1472 | | |
1481 | 1473 | | |
1482 | | - | |
1483 | 1474 | | |
1484 | 1475 | | |
1485 | 1476 | | |
1486 | 1477 | | |
1487 | 1478 | | |
1488 | 1479 | | |
1489 | 1480 | | |
1490 | | - | |
1491 | 1481 | | |
1492 | 1482 | | |
1493 | 1483 | | |
| |||
1501 | 1491 | | |
1502 | 1492 | | |
1503 | 1493 | | |
1504 | | - | |
1505 | 1494 | | |
1506 | 1495 | | |
1507 | 1496 | | |
| |||
1513 | 1502 | | |
1514 | 1503 | | |
1515 | 1504 | | |
1516 | | - | |
1517 | 1505 | | |
1518 | 1506 | | |
1519 | 1507 | | |
| |||
1526 | 1514 | | |
1527 | 1515 | | |
1528 | 1516 | | |
1529 | | - | |
1530 | 1517 | | |
1531 | 1518 | | |
1532 | 1519 | | |
| |||
1558 | 1545 | | |
1559 | 1546 | | |
1560 | 1547 | | |
1561 | | - | |
1562 | 1548 | | |
1563 | 1549 | | |
1564 | 1550 | | |
| |||
1602 | 1588 | | |
1603 | 1589 | | |
1604 | 1590 | | |
1605 | | - | |
1606 | 1591 | | |
1607 | 1592 | | |
1608 | 1593 | | |
| |||
1629 | 1614 | | |
1630 | 1615 | | |
1631 | 1616 | | |
1632 | | - | |
1633 | 1617 | | |
1634 | 1618 | | |
1635 | 1619 | | |
| |||
1653 | 1637 | | |
1654 | 1638 | | |
1655 | 1639 | | |
1656 | | - | |
1657 | 1640 | | |
1658 | 1641 | | |
1659 | 1642 | | |
| |||
1691 | 1674 | | |
1692 | 1675 | | |
1693 | 1676 | | |
1694 | | - | |
1695 | 1677 | | |
1696 | 1678 | | |
1697 | 1679 | | |
| |||
Lines changed: 17 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
253 | 266 | | |
254 | 267 | | |
255 | 268 | | |
| |||
503 | 516 | | |
504 | 517 | | |
505 | 518 | | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | 519 | | |
511 | 520 | | |
512 | 521 | | |
| |||
895 | 904 | | |
896 | 905 | | |
897 | 906 | | |
898 | | - | |
899 | 907 | | |
900 | | - | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | 908 | | |
905 | 909 | | |
906 | 910 | | |
907 | 911 | | |
| 912 | + | |
908 | 913 | | |
909 | 914 | | |
910 | | - | |
| 915 | + | |
911 | 916 | | |
912 | 917 | | |
913 | 918 | | |
| |||
1030 | 1035 | | |
1031 | 1036 | | |
1032 | 1037 | | |
1033 | | - | |
| 1038 | + | |
1034 | 1039 | | |
1035 | 1040 | | |
1036 | | - | |
| 1041 | + | |
1037 | 1042 | | |
1038 | 1043 | | |
1039 | 1044 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1758 | 1758 | | |
1759 | 1759 | | |
1760 | 1760 | | |
1761 | | - | |
| 1761 | + | |
1762 | 1762 | | |
1763 | 1763 | | |
1764 | 1764 | | |
| |||
1866 | 1866 | | |
1867 | 1867 | | |
1868 | 1868 | | |
1869 | | - | |
1870 | 1869 | | |
1871 | 1870 | | |
1872 | 1871 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
256 | 264 | | |
257 | 265 | | |
258 | 266 | | |
| |||
342 | 350 | | |
343 | 351 | | |
344 | 352 | | |
345 | | - | |
346 | 353 | | |
347 | | - | |
348 | 354 | | |
349 | | - | |
350 | | - | |
351 | | - | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
352 | 359 | | |
353 | 360 | | |
354 | 361 | | |
355 | | - | |
356 | 362 | | |
357 | | - | |
358 | 363 | | |
359 | | - | |
360 | | - | |
361 | | - | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
362 | 367 | | |
363 | 368 | | |
364 | 369 | | |
| |||
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | 605 | | |
610 | 606 | | |
611 | 607 | | |
| |||
619 | 615 | | |
620 | 616 | | |
621 | 617 | | |
| 618 | + | |
622 | 619 | | |
623 | | - | |
624 | | - | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
625 | 624 | | |
626 | 625 | | |
627 | 626 | | |
| |||
0 commit comments