File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Firestore/Example/Tests/Integration/API Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,17 @@ if(CXX_CLANG)
218
218
)
219
219
endif ()
220
220
221
+ # Fix up targets included by boringssl (ver: b9232f9e27e5668bc0414879dcdedb2a59ea75f2)
222
+ # We might be able to remove this with newer versions.
223
+ if (CXX_CLANG )
224
+ if (TARGET crypto )
225
+ target_compile_options (
226
+ crypto PRIVATE
227
+ -Wno-unused-but-set-variable
228
+ )
229
+ endif ()
230
+ endif ()
231
+
221
232
if (MSVC )
222
233
# Disable warnings about unsafe use of std::copy
223
234
target_compile_definitions (
Original file line number Diff line number Diff line change 24
24
#import " Firestore/Source/API/FIRAggregateQuerySnapshot+Internal.h"
25
25
#import " Firestore/Source/API/FIRQuery+Internal.h"
26
26
27
+ #include " Firestore/core/src/util/sanitizers.h"
28
+
27
29
#import " Firestore/Example/Tests/Util/FSTIntegrationTestCase.h"
28
30
29
31
@interface FIRAggregateTests : FSTIntegrationTestCase
@@ -306,6 +308,8 @@ - (void)testCanRunEmptyAggregateQuery {
306
308
XCTAssertTrue ([[result localizedDescription ] containsString: @" Aggregations can not be empty" ]);
307
309
}
308
310
311
+ // (TODO:b/283101111): Try thread sanitizer to see if timeout on Github Actions is gone.
312
+ #if !defined(THREAD_SANITIZER)
309
313
- (void )testAggregateFieldQuerySnapshotEquality {
310
314
// TODO(sum/avg) remove the check below when sum and avg are supported in production
311
315
XCTSkipIf (![FSTIntegrationTestCase isRunningAgainstEmulator ], @" only tested against emulator" );
@@ -381,6 +385,7 @@ - (void)testAggregateFieldQuerySnapshotEquality {
381
385
XCTAssertNotEqual ([snapshot1 hash ], [snapshot4 hash ]);
382
386
XCTAssertNotEqual ([snapshot3 hash ], [snapshot4 hash ]);
383
387
}
388
+ #endif // #if !defined(THREAD_SANITIZER)
384
389
385
390
- (void )testAllowsAliasesLongerThan1500Bytes {
386
391
// TODO(sum/avg) remove the check below when sum and avg are supported in production
You can’t perform that action at this time.
0 commit comments