From cca69a6c16a9583b76aeb9a21c92d4cd2df7cd26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Fri, 18 Mar 2022 23:18:52 +0100 Subject: [PATCH] gen --- build/openrpc/miner.json.gz | Bin 13254 -> 13271 bytes cmd/lotus-miner/info.go | 2 +- documentation/en/api-v0-methods-miner.md | 1 + extern/sector-storage/manager_test.go | 18 +++++++++--------- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/build/openrpc/miner.json.gz b/build/openrpc/miner.json.gz index 9ec16d4368a1b89578491b63f0382c733562e120..e67bd44160df080a92ccf19c7692af4dcea09c6f 100644 GIT binary patch delta 13231 zcmV;gGf>RNXV+(tK7YPRkOUu+6$j^ZT8odx0^I%VVzF3!(`*M3*D(-J?#Ox9<~X8qknWbI55$J_SDl>h%Rl@(@ws8 z(+FI#S3h7288#+|Zw+d@Z%xxho~QLR6M2S<9qN<$>#x5S_J1vzuZaO(dElpOYP)cO zK4F5~YwE5I`Whq&ymEA4*o305^zhXG?`!Z1`Zo`Qhk5|HuI;`C-)_k*#dF{to)d~( z0<9D`;OCzK!IuBnEp-uHy9E41&|{Y3>mGRTy1&`=0g+QW91F2_w7K3N3`g2skG;;>fYzmJJIJM&Ju!!thk6>_ zIEX!N&;Ab?RJ(g({QbSgE;6+f>aG!E#&MAWDZ9eodVdmJ>uKn#KV)aN;W1{?efWs! zay$K}JJFVuI^M~fHw*sAp<%Dy%maBla9o@5^~Ped`(|d@vo|Z~ zQRKdX4u0df_SemS7Kj`!?EiN$Jf04;r>9=I)SlX8ju)+E*C!*E;M60s^6NicBE_la z8q09R_kUI-xqOVXcdMoNn|A4QB9!Ye2I2s;JkB5`tcybqaE_m|$R?hxNtemGyWZYl6 z_J0FI+D59GqEM)qGkkc37MSse%uD;4Ub?nD?*V53zT9~}+29jjA$ENT7`(p*uU63c z5`TaH6W)2$#iZ0XO0iX<%q8S&X?AuPShrdCSXZ{I-{PU&nvyhEjkp(sT&n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cfA-|^YkZnd3U(FV`dbn z=78$1g)$AK&nlE@6n#daeCmY}9cY?PaEfn3_|%^lK3gd0VWcaddJtnNEkJqv;^|X=0bR#Y#gIZ7-XxP_%y&*{tfC?m#xvfclKG znTFG6lg${I`mynTw_uvNv|BK(+WfY`v??EkVET-#bl{YB#Y%TzT2nT=2Gjboxg9WV z^c6brPP<~I1K+e8R@(fDYr;-@Npx@$45 z8b95Qn8qM>j;MdJl;LY%A5D&q$0_jluXTw0x&&f(*>)COch`2-HQim?SzmN_ZKpwU zmu;tUa+hsq5ps8JXI;(RwVm}Xchz7vB7jwk2eeWY`u9}V^Ka6H*fFo}O>3Hpuo z{$P4E8uUj=haqOUw!w)M3gq1J>AYS3d5awld#0~t#Q*G ztkxCMu5q=2kajRP?@UNDp6Ig*X&PXkQ%DmCYd;_tITkkH+A$$TYE5ZhBGhV4Nv$b0 z#8r49+xL4~-YJEwqFTI@gB^NCa@%UEHd$du3*L_LjQz@p~^pqOOVOA6})P^tsnwRaSt?3Mc_ml@+j0SpiQB zN#7GVv!Z%Me$kar*l)!D3BU56ADy)*v7-01Q~rN9Pt_`}23Dg;R6w&zm8g($>CuD% zqu;VG1{G^MD^8ZKb0cFYal6il@TxUc#^a;^Wc4Ev6Sa3L)w2$Y@6>p>YO(5Ay`PE| zvtxyO@`bM(xlE~0#m|w@ScxFUw7p_A@r1(He}^MNrPu28wMvD#W>=E>NXf@PfvGG|33f#|Np=8+I1?C0sxHs7fApB diff --git a/cmd/lotus-miner/info.go b/cmd/lotus-miner/info.go index 0d254e4f171..e8d613cd62d 100644 --- a/cmd/lotus-miner/info.go +++ b/cmd/lotus-miner/info.go @@ -3,7 +3,6 @@ package main import ( "context" "fmt" - "github.com/filecoin-project/lotus/extern/sector-storage/sealtasks" "math" corebig "math/big" "os" @@ -36,6 +35,7 @@ import ( "github.com/filecoin-project/lotus/chain/actors/builtin/reward" "github.com/filecoin-project/lotus/chain/types" lcli "github.com/filecoin-project/lotus/cli" + "github.com/filecoin-project/lotus/extern/sector-storage/sealtasks" "github.com/filecoin-project/lotus/journal/alerting" ) diff --git a/documentation/en/api-v0-methods-miner.md b/documentation/en/api-v0-methods-miner.md index 5122a97aa0c..d46236af392 100644 --- a/documentation/en/api-v0-methods-miner.md +++ b/documentation/en/api-v0-methods-miner.md @@ -4617,6 +4617,7 @@ Response: } } }, + "Tasks": null, "Enabled": true, "MemUsedMin": 0, "MemUsedMax": 0, diff --git a/extern/sector-storage/manager_test.go b/extern/sector-storage/manager_test.go index 758d297e7df..9c844292e8a 100644 --- a/extern/sector-storage/manager_test.go +++ b/extern/sector-storage/manager_test.go @@ -513,7 +513,7 @@ func TestRestartWorker(t *testing.T) { //stm: @WORKER_STATS_001 for { - if len(m.WorkerStats()) == 0 { + if len(m.WorkerStats(ctx)) == 0 { break } @@ -576,13 +576,13 @@ func TestReenableWorker(t *testing.T) { //stm: @WORKER_STATS_001 for i := 0; i < 100; i++ { - if !m.WorkerStats()[w.session].Enabled { + if !m.WorkerStats(ctx)[w.session].Enabled { break } time.Sleep(time.Millisecond * 3) } - require.False(t, m.WorkerStats()[w.session].Enabled) + require.False(t, m.WorkerStats(ctx)[w.session].Enabled) i, _ = m.sched.Info(ctx) require.Len(t, i.(SchedDiagInfo).OpenWindows, 0) @@ -591,13 +591,13 @@ func TestReenableWorker(t *testing.T) { atomic.StoreInt64(&w.testDisable, 0) for i := 0; i < 100; i++ { - if m.WorkerStats()[w.session].Enabled { + if m.WorkerStats(ctx)[w.session].Enabled { break } time.Sleep(time.Millisecond * 3) } - require.True(t, m.WorkerStats()[w.session].Enabled) + require.True(t, m.WorkerStats(ctx)[w.session].Enabled) for i := 0; i < 100; i++ { info, _ := m.sched.Info(ctx) @@ -653,7 +653,7 @@ func TestResUse(t *testing.T) { l: for { - st := m.WorkerStats() + st := m.WorkerStats(ctx) require.Len(t, st, 1) for _, w := range st { if w.MemUsedMax > 0 { @@ -663,7 +663,7 @@ l: } } - st := m.WorkerStats() + st := m.WorkerStats(ctx) require.Len(t, st, 1) for _, w := range st { require.Equal(t, storiface.ResourceTable[sealtasks.TTAddPiece][abi.RegisteredSealProof_StackedDrg2KiBV1].MaxMemory, w.MemUsedMax) @@ -715,7 +715,7 @@ func TestResOverride(t *testing.T) { l: for { - st := m.WorkerStats() + st := m.WorkerStats(ctx) require.Len(t, st, 1) for _, w := range st { if w.MemUsedMax > 0 { @@ -725,7 +725,7 @@ l: } } - st := m.WorkerStats() + st := m.WorkerStats(ctx) require.Len(t, st, 1) for _, w := range st { require.Equal(t, uint64(99999), w.MemUsedMax)