Skip to content

Commit

Permalink
fix failure test
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyass committed Jun 2, 2022
1 parent b26ec97 commit 35c66ab
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions common/proto-conv/tests/it/proto_conv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ fn test_load_old() -> anyhow::Result<()> {
// TableInfo is loadable
{
let tbl_info_v1: Vec<u8> = vec![
10, 7, 8, 5, 16, 6, 160, 6, 1, 18, 3, 102, 111, 111, 26, 3, 98, 97, 114, 34, 254, 4,
10, 7, 8, 5, 16, 6, 160, 6, 1, 18, 3, 102, 111, 111, 26, 3, 98, 97, 114, 34, 137, 5,
10, 140, 4, 10, 37, 10, 8, 110, 117, 108, 108, 97, 98, 108, 101, 18, 5, 97, 32, 43, 32,
51, 26, 15, 10, 10, 10, 5, 26, 0, 160, 6, 1, 160, 6, 1, 160, 6, 1, 160, 6, 1, 10, 16,
10, 4, 98, 111, 111, 108, 26, 5, 18, 0, 160, 6, 1, 160, 6, 1, 10, 16, 10, 4, 105, 110,
Expand All @@ -250,11 +250,12 @@ fn test_load_old() -> anyhow::Result<()> {
3, 160, 6, 1, 160, 6, 1, 160, 6, 1, 10, 26, 10, 8, 105, 110, 116, 101, 114, 118, 97,
108, 26, 11, 170, 1, 5, 8, 2, 160, 6, 1, 160, 6, 1, 160, 6, 1, 18, 6, 10, 1, 97, 18, 1,
98, 160, 6, 1, 42, 10, 10, 3, 120, 121, 122, 18, 3, 102, 111, 111, 50, 2, 52, 52, 58,
10, 10, 3, 97, 98, 99, 18, 3, 100, 101, 102, 74, 10, 40, 97, 32, 43, 32, 50, 44, 32,
98, 41, 162, 1, 23, 50, 48, 49, 52, 45, 49, 49, 45, 50, 56, 32, 49, 50, 58, 48, 48, 58,
48, 57, 32, 85, 84, 67, 170, 1, 23, 50, 48, 49, 52, 45, 49, 49, 45, 50, 57, 32, 49, 50,
58, 48, 48, 58, 49, 48, 32, 85, 84, 67, 178, 1, 13, 116, 97, 98, 108, 101, 95, 99, 111,
109, 109, 101, 110, 116, 160, 6, 1, 160, 6, 1,
10, 10, 3, 97, 98, 99, 18, 3, 100, 101, 102, 74, 15, 10, 10, 40, 97, 32, 43, 32, 50,
44, 32, 98, 41, 160, 6, 1, 162, 1, 23, 50, 48, 49, 52, 45, 49, 49, 45, 50, 56, 32, 49,
50, 58, 48, 48, 58, 48, 57, 32, 85, 84, 67, 170, 1, 23, 50, 48, 49, 52, 45, 49, 49, 45,
50, 57, 32, 49, 50, 58, 48, 48, 58, 49, 48, 32, 85, 84, 67, 178, 1, 13, 116, 97, 98,
108, 101, 95, 99, 111, 109, 109, 101, 110, 116, 186, 1, 3, 160, 6, 1, 160, 6, 1, 160,
6, 1,
];
let p: pb::TableInfo =
common_protos::prost::Message::decode(tbl_info_v1.as_slice()).map_err(print_err)?;
Expand Down

0 comments on commit 35c66ab

Please sign in to comment.