mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-30 20:29:46 +01:00
Revert "Try to prevent flappy integration test failures"
This reverts commit ccbd56e625.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
package sonia.scm.it.utils;
|
||||
|
||||
import com.google.common.base.Charsets;
|
||||
@@ -77,13 +77,7 @@ public class RepositoryUtil {
|
||||
|
||||
public static Changeset createAndCommitFile(RepositoryClient repositoryClient, String username, String fileName, String content) throws IOException {
|
||||
writeAndAddFile(repositoryClient, fileName, content);
|
||||
Changeset commit = commit(repositoryClient, username, "added " + fileName);
|
||||
try {
|
||||
Thread.sleep(10);
|
||||
} catch (InterruptedException e) {
|
||||
// nothing to do
|
||||
}
|
||||
return commit;
|
||||
return commit(repositoryClient, username, "added " + fileName);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user