()
| 170 | |
| 171 | static class Table1Long2Add1 extends Task { |
| 172 | @Override |
| 173 | void prepare() throws Exception { |
| 174 | // 所有使用 Table1 的测试都可以依赖这个 prepare,不需要单独写了。 |
| 175 | var app = Simulate.getInstance().randApp().app; |
| 176 | app.Zeze.newProcedure(() -> { |
| 177 | for (long key = 0; key < Simulate.AccessKeyBound; key++) |
| 178 | app.demo_Module1.getTable1().remove(key); |
| 179 | return 0L; |
| 180 | }, Table1Long2Add1.class.getName() + ".prepare").call(); |
| 181 | app.Zeze.checkpointRun(); |
| 182 | } |
| 183 | |
| 184 | static final LongAdder commitCount = new LongAdder(); |
| 185 |
nothing calls this directly
no test coverage detected