File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import (
1919)
2020
2121var isLightweightMode bool
22+ var preloadKeys bool
2223
2324const ProverAddress = "localhost:8081"
2425const MetricsAddress = "localhost:9999"
@@ -103,7 +104,7 @@ func TestMain(m *testing.M) {
103104
104105 runIntegrationTests := false
105106 isLightweightMode = true
106- preloadKeys : = true
107+ preloadKeys = true
107108
108109 for _ , arg := range os .Args {
109110 if strings .Contains (arg , "-test.run=TestFull" ) {
@@ -169,6 +170,10 @@ func TestLightweight(t *testing.T) {
169170}
170171
171172func TestLightweightLazy (t * testing.T ) {
173+ if preloadKeys {
174+ t .Skip ("This test only runs when preloadKeys is false (lazy mode)" )
175+ }
176+
172177 logging .Logger ().Info ().Msg ("TestLightweightLazy: Running tests with lazy key loading" )
173178
174179 runCommonTests (t )
You can’t perform that action at this time.
0 commit comments