This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix ui test and make sure it's flaky
- Loading branch information
1 parent
b05787b
commit 362b688
Showing
2 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,5 +25,4 @@ mod pallet { | |
} | ||
|
||
fn main() { | ||
compile_error!("Temporarily disabled due to test flakiness"); | ||
} |
12 changes: 8 additions & 4 deletions
12
frame/support/test/tests/pallet_ui/storage_info_unsatisfied_nmap.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
error: Temporarily disabled due to test flakiness | ||
--> $DIR/storage_info_unsatisfied_nmap.rs:28:2 | ||
error[E0277]: the trait bound `Bar: MaxEncodedLen` is not satisfied | ||
--> $DIR/storage_info_unsatisfied_nmap.rs:11:12 | ||
| | ||
28 | compile_error!("Temporarily disabled due to test flakiness"); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
11 | #[pallet::generate_storage_info] | ||
| ^^^^^^^^^^^^^^^^^^^^^ the trait `MaxEncodedLen` is not implemented for `Bar` | ||
| | ||
= note: required because of the requirements on the impl of `KeyGeneratorMaxEncodedLen` for `NMapKey<frame_support::Twox64Concat, Bar>` | ||
= note: required because of the requirements on the impl of `StorageInfoTrait` for `frame_support::pallet_prelude::StorageNMap<_GeneratedPrefixForStorageFoo<T>, NMapKey<frame_support::Twox64Concat, Bar>, u32>` | ||
= note: required by `storage_info` |