This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed hendrerit, nisl auctor pellentesque gravida, nibh risus aliquet mauris, a varius mi purus sit amet neque. Nulla sit amet odio id nulla consectetur aliquet eu eu metus. Pellentesque interdum neque sit amet facilisis fringilla. Proin in dolor mi. Donec ullamcorper pellentesque eleifend. Sed est lorem, auctor et purus pretium, commodo mattis justo. Etiam ultricies ligula in risus bibendum, in aliquam ex porttitor. Morbi vitae felis leo. In condimentum eget lectus vel imperdiet. Ut non faucibus purus, et convallis dolor. Vivamus nec justo in odio tincidunt viverra nec at ligula. Pellentesque tristique ullamcorper congue. | |
Integer rutrum velit ac urna gravida, in dapibus nulla euismod. Vivamus porta tempor vulputate. Curabitur pellentesque interdum metus, ut iaculis enim posuere at. Aenean nec eros et justo viverra pellentesque. Aenean mollis porta viverra. Praesent tristique risus nec nisi volutpat blandit. Aenean suscipit nunc nec pellentesque lacinia. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package functional | |
import com.github.barbasa.gatling.git.GatlingGitConfiguration | |
import io.gatling.core.Predef._ | |
import io.gatling.http.Predef._ | |
import io.gatling.http.protocol.HttpProtocolBuilder | |
class WIPWorkflow extends Simulation { | |
implicit val conf: GatlingGitConfiguration = GatlingGitConfiguration() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class WIPWorkflow extends Simulation { | |
// Configuration bolierplate | |
implicit val conf: GatlingGitConfiguration = GatlingGitConfiguration() | |
val baseUrl = "https://review.gerrithub.io" | |
val username: String = conf.httpConfiguration.userName | |
val password: String = conf.httpConfiguration.password | |
val httpProtocol: HttpProtocolBuilder = http | |
.baseUrl(baseUrl) | |
.userAgentHeader("Gatling test") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"url": "ssh://admin@localhost:29418/loadtest-repo.git", | |
"cmd": "clone" | |
}, | |
{ | |
"url": "http://localhost:8080/loadtest-repo.git", | |
"cmd": "fetch" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (C) 2019 The Android Open Source Project | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software | |
// distributed under the License is distributed on an "AS IS" BASIS, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dom-module id="coverage-plugin"> | |
<script> | |
function populateWithDummyData(coverageData) { | |
coverageData['build.sbt'] = { | |
linesMissingCoverage: [33, 34, 35], | |
totalLines: 3, | |
changeNum: 1, | |
patchNum: 2 | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case class ETLConfigRaw(aggregate: String, | |
prefix: String, | |
since: String, | |
until: String, | |
url: String, | |
events: String, | |
emailAliases: String, | |
writeNotProcessedEventsTo: String, | |
username: String, | |
password: String) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.concurrent.Callable; | |
import java.util.concurrent.ExecutionException; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.FutureTask; | |
public class test { | |
public static void main(String... args){ | |
FutureTask<String> ft1= new FutureTask<String>(new Task1()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.concurrent.Callable; | |
import java.util.concurrent.ExecutionException; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.ScheduledExecutorService; | |
import java.util.concurrent.ScheduledFuture; | |
import java.util.concurrent.TimeUnit; | |
import java.util.function.Consumer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
utils.makeQueryString | |
currentQuery | |
page | |
1 |
NewerOlder