Logging improvements, etc.
This commit is contained in:
		
							parent
							
								
									f7f343fe55
								
							
						
					
					
						commit
						8215b66db3
					
				
					 12 changed files with 155 additions and 80 deletions
				
			
		|  | @ -86,6 +86,7 @@ func TestCLI_Publish_All_The_Things(t *testing.T) { | |||
| } | ||||
| 
 | ||||
| func TestCLI_Publish_Wait_PID_And_Cmd(t *testing.T) { | ||||
| 	t.Parallel() | ||||
| 	s, port := test.StartServer(t) | ||||
| 	defer test.StopServer(t, s, port) | ||||
| 	topic := fmt.Sprintf("http://127.0.0.1:%d/mytopic", port) | ||||
|  |  | |||
|  | @ -22,6 +22,7 @@ func init() { | |||
| } | ||||
| 
 | ||||
| func TestCLI_Serve_Unix_Curl(t *testing.T) { | ||||
| 	t.Parallel() | ||||
| 	sockFile := filepath.Join(t.TempDir(), "ntfy.sock") | ||||
| 	configFile := newEmptyFile(t) // Avoid issues with existing server.yml file on system | ||||
| 	go func() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue