Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions app/test/admin/exported_api_sync_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,7 @@ void main() {
});
});

testWithProfile('deleted files + full sync', expectedLogMessages: [
// TODO: review why we have unhandled errors here
RegExp(r'^SEVERE Unhandled error in API handler \(incidentId: .*\)'),
], fn: () async {
testWithProfile('deleted files + full sync', fn: () async {
await syncExportedApi();
final oldRoot = await listExportedApi();

Expand Down
2 changes: 1 addition & 1 deletion pkg/fake_gcloud/lib/mem_storage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ class _Bucket implements Bucket {
final isDirPrefix =
prefix.isEmpty || (delimiter.isNotEmpty && prefix.endsWith(delimiter));
final segments = <String>{};
for (final name in _files.keys) {
for (final name in [..._files.keys]) {
bool matchesPrefix() {
// without prefix, return everything
if (prefix!.isEmpty) return true;
Expand Down
Loading