File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
dotnet/Temporalio.Features.Harness Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ public static class App
2727 name : "--client-key-path" ,
2828 description : "Path to a client key for TLS" ) ;
2929
30+ private static readonly Option < string > summaryUriOption = new (
31+ name : "--summary-uri" ,
32+ description : "Where to stream the test summary JSONL (not implemented)" ) ;
33+
3034 private static readonly Argument < List < ( string , string ) > > featuresArgument = new (
3135 name : "features" ,
3236 parse : result => result . Tokens . Select ( token =>
@@ -53,9 +57,11 @@ private static Command CreateCommand()
5357 {
5458 var cmd = new RootCommand ( ".NET features harness" ) ;
5559 cmd . AddOption ( serverOption ) ;
60+ cmd . AddOption ( directServerOption ) ;
5661 cmd . AddOption ( namespaceOption ) ;
5762 cmd . AddOption ( clientCertPathOption ) ;
5863 cmd . AddOption ( clientKeyPathOption ) ;
64+ cmd . AddOption ( proxyControlUriOption ) ;
5965 cmd . AddArgument ( featuresArgument ) ;
6066 cmd . SetHandler ( RunCommandAsync ) ;
6167 return cmd ;
@@ -121,4 +127,4 @@ private static async Task RunCommandAsync(InvocationContext ctx)
121127
122128 logger . LogInformation ( "All features passed" ) ;
123129 }
124- }
130+ }
Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ async def run():
2121 "--client-cert-path" , help = "Path to a client certificate for TLS"
2222 )
2323 parser .add_argument ("--client-key-path" , help = "Path to a client key for TLS" )
24+ parser .add_argument (
25+ "--summary-uri" ,
26+ help = "where to stream the test summary JSONL (not implemented)" ,
27+ )
2428 parser .add_argument ("--log-level" , help = "Log level" , default = "INFO" )
2529 parser .add_argument ("--http-proxy-url" , help = "HTTP proxy URL" )
2630 parser .add_argument (
Original file line number Diff line number Diff line change @@ -13,13 +13,15 @@ async function run() {
1313 . requiredOption ( '--namespace <namespace>' , 'The namespace to use' )
1414 . option ( '--client-cert-path <clientCertPath>' , 'Path to a client certificate for TLS' )
1515 . option ( '--client-key-path <clientKeyPath>' , 'Path to a client key for TLS' )
16+ . option ( '--summary-uri <uri>' , 'where to stream the test summary JSONL (not implemented)' )
1617 . argument ( '<features...>' , 'Features as dir + ":" + task queue' ) ;
1718
1819 const opts = program . parse ( process . argv ) . opts < {
1920 server : string ;
2021 namespace : string ;
2122 clientCertPath : string ;
2223 clientKeyPath : string ;
24+ proxyControlUri : string ;
2325 featureAndTaskQueues : string [ ] ;
2426 } > ( ) ;
2527 opts . featureAndTaskQueues = program . args ;
You can’t perform that action at this time.
0 commit comments