tests: fix flaky test_timeout (#6773)
Use a longer timeout on CI - seen a failure with it with GHA (Windows).
Ref: a4554e666a
			
			
This commit is contained in:
		
							parent
							
								
									58ef95ed4d
								
							
						
					
					
						commit
						81a9df6ed1
					
				| 
						 | 
					@ -56,9 +56,9 @@ def test_timeout(testdir, enabled):
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
    testdir.makepyfile(
 | 
					    testdir.makepyfile(
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
    import time
 | 
					    import os, time
 | 
				
			||||||
    def test_timeout():
 | 
					    def test_timeout():
 | 
				
			||||||
        time.sleep(0.1)
 | 
					        time.sleep(1 if "CI" in os.environ else 0.1)
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    testdir.makeini(
 | 
					    testdir.makeini(
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue