@@ -196,6 +196,7 @@ var (
196196 restWebURI string
197197 restPOST bool
198198 canDisable bool
199+ litOnly bool
199200 }{{
200201 name : "lnrpc" ,
201202 macaroonFn : lndMacaroonFn ,
@@ -292,6 +293,7 @@ var (
292293 allowedThroughLNC : false ,
293294 grpcWebURI : "/litrpc.Proxy/GetInfo" ,
294295 restWebURI : "/v1/proxy/info" ,
296+ litOnly : true ,
295297 }}
296298
297299 // customURIs is a map of endpoint URIs that we want to allow via a
@@ -416,7 +418,7 @@ func integratedTestSuite(ctx context.Context, net *NetworkHarness, t *testing.T,
416418 endpoint .macaroonFn (cfg ),
417419 endpoint .requestFn ,
418420 endpoint .successPattern ,
419- endpointDisabled ,
421+ endpointDisabled || endpoint . litOnly ,
420422 "Unimplemented desc = unknown service" ,
421423 )
422424 })
@@ -447,7 +449,7 @@ func integratedTestSuite(ctx context.Context, net *NetworkHarness, t *testing.T,
447449 ttt , cfg .RPCAddr (), cfg .TLSCertPath ,
448450 cfg .UIPassword , endpoint .requestFn ,
449451 true , endpoint .successPattern ,
450- endpointDisabled ,
452+ endpointDisabled || endpoint . litOnly ,
451453 "Unimplemented desc = unknown service" ,
452454 )
453455 })
@@ -516,7 +518,7 @@ func integratedTestSuite(ctx context.Context, net *NetworkHarness, t *testing.T,
516518 superMacFile ,
517519 endpoint .requestFn ,
518520 endpoint .successPattern ,
519- endpointDisabled ,
521+ endpointDisabled || endpoint . litOnly ,
520522 "Unimplemented desc = unknown service" ,
521523 )
522524 })
0 commit comments