- 
                Notifications
    
You must be signed in to change notification settings  - Fork 984
 
          test(clitools): revive run_inprocess()
          #3891
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
bee5aee    to
    8a77505      
    Compare
  
    8a77505    to
    2261e26      
    Compare
  
    
          
 What do you mean? It seems pretty mucht right to me.  | 
    
          
 @djc The previous implementation used a unique runtime and a static   | 
    
          
 Do you mean because I've tied the   | 
    
          
 @djc Indeed, that would be interesting. One trap I've encountered here is that currently   | 
    
          
 We could explicitly stick a   | 
    
          
 @djc That's also where I want it to be, however the current state is still far from it.  | 
    
          
 Why far? If we just remove the explicit runtime builder and add   | 
    
          
 @djc Nothing in theory. However, as I've explained already, it's just that  OTOH, actually making the tests async (and adding  Anyway, I think this PR is ready to go as a first step. Please feel free to propose improvements in the subsequent ones.  | 
    
This PR re-enables testing via the
run_inprocess()function, which was originally introduced in #2367 but temporarily disabled in #3868.Please note that this is a dirty fix as so far all in-process tests are still synchronous, and a
tokioruntime builder has been re-introduced to handle the async-ness ofrustup_init::main()as well as the need of initializing anotelsubscriber in an async context.