Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests + baking screen #5

Merged
merged 45 commits into from
Feb 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
a3f9e77
WIP: baking screen (prepare histogram)
adonagy Feb 4, 2022
62402a5
Baking screen: Add summary panel
adonagy Feb 10, 2022
5eee77b
Add optional baker address to configuration
adonagy Feb 11, 2022
34af092
Baking screen: Add baking table
adonagy Feb 11, 2022
8e88bf1
Baking screen: Cleanup view
adonagy Feb 11, 2022
3e3cdb1
Cleanup header actions + Change on new header
adonagy Feb 11, 2022
7000115
Fix possible panic on baking screen
adonagy Feb 11, 2022
a49d184
Baking screen: Prepare 2 panels (application/baking)
adonagy Feb 14, 2022
87ea3f1
Baking screen: add baking rights info
adonagy Feb 14, 2022
f3ea1bc
WIP: Show last baked block stats
adonagy Feb 14, 2022
3955012
Baking screen: store data per block + cleanup
adonagy Feb 14, 2022
8ae8c9d
Header: Update with baking info when in baking mode
adonagy Feb 15, 2022
dcc67eb
Endorsing screen: Add endorsement lifecycle
adonagy Feb 15, 2022
558c170
Add endorsement time calculation
adonagy Feb 15, 2022
c581343
Ui enhacements
adonagy Feb 17, 2022
13efc4f
chrono -> time-rs + Current endorsement panel
adonagy Feb 21, 2022
3eacbc3
Endorsements screen: Add next and current endorsement info
adonagy Feb 21, 2022
742864a
Fix Baker and Endroser timings
adonagy Feb 21, 2022
4604e42
Cargo fmt
adonagy Feb 21, 2022
4bd8265
Correct endorsement and baking summaries
adonagy Feb 21, 2022
54f0ddc
Use better approach to receive rpc calls (tokio select)
adonagy Feb 21, 2022
d213ffa
Properly request baking rights for all possible future blocks
adonagy Feb 21, 2022
8ef9c0b
Add remote level to top bar + fix injected block time
adonagy Feb 22, 2022
9af0764
Fix: convert minmal block delay to nanos
adonagy Feb 22, 2022
7f21795
Add different style to bootstrapped node
adonagy Feb 22, 2022
60f5bdf
Hide panels specific to baker when no baker is specified
adonagy Feb 23, 2022
e207fd9
WIP: test
adonagy Feb 23, 2022
e0ba2e7
Add partialeq implementations
adonagy Feb 24, 2022
14443f3
add pretty_assertions
adonagy Feb 24, 2022
99eea3d
Tests: rework
adonagy Feb 24, 2022
9577b96
Rework based failing test (correct action collection + no HashMap + c…
adonagy Feb 24, 2022
8f0876c
Add drone
adonagy Feb 24, 2022
ce965db
Add correct assertions of state
adonagy Feb 24, 2022
8fa5642
TEST(drop later): Ci test
adonagy Feb 24, 2022
0472323
Keep the generic Backend trought the app
adonagy Feb 24, 2022
b50ee01
Change to TestBackend
adonagy Feb 24, 2022
de498f4
add nocapture to test
adonagy Feb 24, 2022
ac0fc6a
Add delta values
adonagy Feb 25, 2022
cccb6b3
Add record actions as optional
adonagy Feb 25, 2022
f109c64
cargo fmt
adonagy Feb 25, 2022
95050b0
fix typo
adonagy Feb 25, 2022
106e3aa
Dissable Statistics and Synchronization screens
adonagy Feb 25, 2022
cbd4fba
Do not serialize/deserialize record_actions flag
adonagy Feb 25, 2022
3984f27
cleanup warnings
adonagy Feb 25, 2022
5a5bb31
update readme
adonagy Feb 25, 2022
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
33 changes: 33 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
kind: pipeline
name: automaton-test

trigger:
branch:
- master
- develop
- tests

workspace:
path: /drone/src

steps:

- name: run-automaton-tests
image: tezedge/tezedge-ci-builder:rust-1.58.1-v11.0-octez
pull: if-not-exists
user: root
environment:
RUST_BACKTRACE: full
volumes:
- name: data
path: /data
commands:
- cp /data/automaton_dump.json .
- cargo test --release -- --nocapture

volumes:
- name: data
host:
path: /usr/local/etc/tezedge-tui-ci/data

# Test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/target
tui.log
tui.log
automaton_dump.json
169 changes: 163 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading