File tree Expand file tree Collapse file tree 2 files changed +0
-63
lines changed
tools/ci-cdk/canary-lambda Expand file tree Collapse file tree 2 files changed +0
-63
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -435,33 +435,3 @@ async fn test_s3_canary() {
435435 fut. await . expect ( "joined" ) . expect ( "success" ) ;
436436 }
437437}
438-
439- // Explicit test for crc-fast 1.4 SIGILL issue
440- // This will fail immediately on CPUs without AVX-512 support
441- async fn test_checksum_algorithms ( ) -> anyhow:: Result < ( ) > {
442- use aws_smithy_checksums:: ChecksumAlgorithm ;
443-
444- println ! ( "Testing checksum algorithms (crc-fast 1.4 SIGILL detection)..." ) ;
445-
446- #[ cfg( target_arch = "x86_64" ) ]
447- {
448- println ! ( "CPU Features - AVX-512F: {}, AVX-512VL: {}" ,
449- is_x86_feature_detected!( "avx512f" ) ,
450- is_x86_feature_detected!( "avx512vl" ) ) ;
451- }
452-
453- let test_data = vec ! [ 0u8 ; 1024 * 1024 ] ; // 1MB test data
454-
455- // These will SIGILL on x86_64 without AVX-512 if using crc-fast 1.4
456- println ! ( "Computing CRC32..." ) ;
457- let _crc32 = aws_smithy_checksums:: body:: calculate ( & test_data, & ChecksumAlgorithm :: Crc32 ) ;
458-
459- println ! ( "Computing CRC32C..." ) ;
460- let _crc32c = aws_smithy_checksums:: body:: calculate ( & test_data, & ChecksumAlgorithm :: Crc32C ) ;
461-
462- println ! ( "Computing CRC64NVME..." ) ;
463- let _crc64 = aws_smithy_checksums:: body:: calculate ( & test_data, & ChecksumAlgorithm :: Crc64Nvme ) ;
464-
465- println ! ( "All checksum algorithms work correctly!" ) ;
466- Ok ( ( ) )
467- }
You can’t perform that action at this time.
0 commit comments