Skip to content

Commit 1eda893

Browse files
committed
chore: wip
1 parent 838f18c commit 1eda893

File tree

4 files changed

+9
-58
lines changed

4 files changed

+9
-58
lines changed

go-runner/src/builder/patcher.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub fn patch_imports<P: AsRef<Path>>(
3333
// 3. Update the go module to use the codspeed package
3434
let mut cmd: Command = Command::new("go");
3535
cmd.arg("get")
36-
.arg("github.com/AvalancheHQ/codspeed-go@cod-1172-create-codspeed-go-repository-with-the-compat-layer")
36+
.arg("github.com/CodSpeedHQ/codspeed-go@cod-1172-create-codspeed-go-repository-with-the-compat-layer")
3737
.current_dir(folder);
3838

3939
let output = cmd.output().context("Failed to execute 'go get' command")?;
@@ -60,7 +60,7 @@ pub fn patch_go_source(source: &str) -> anyhow::Result<String> {
6060
let start_pos = import.path.pos;
6161
let end_pos = start_pos + import.path.value.len();
6262

63-
let replacement = "testing \"github.com/AvalancheHQ/codspeed-go/compat/testing\"";
63+
let replacement = "testing \"github.com/CodSpeedHQ/codspeed-go/compat/testing\"";
6464
modified_content.replace_range(start_pos..end_pos, replacement);
6565
}
6666

go-runner/src/integration_tests.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ fn setup_test_project(project_name: &str) -> anyhow::Result<TempDir> {
1919

2020
#[rstest]
2121
// #[case::caddy("caddy")]
22-
#[case::hugo("hugo")]
22+
// #[case::hugo("hugo")]
2323
#[case::fzf("fzf")]
24-
#[case::opentelemetry_go("opentelemetry-go")]
24+
// #[case::opentelemetry_go("opentelemetry-go")]
2525
// #[case::golang_benchmarks("golang-benchmarks")]
26-
#[case::fuego("fuego")]
27-
#[case::zerolog("zerolog")]
28-
#[case::zap("zap")]
29-
#[case::cli_runtime("cli-runtime")]
26+
// #[case::fuego("fuego")]
27+
// #[case::zerolog("zerolog")]
28+
// #[case::zap("zap")]
29+
// #[case::cli_runtime("cli-runtime")]
3030
fn test_build_and_run(#[case] project_name: &str) {
3131
let temp_dir = setup_test_project(project_name).unwrap();
3232

go-runner/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ pub fn run_benchmarks(project_dir: &Path, bench: &str) -> anyhow::Result<()> {
6464

6565
let cmd = std::process::Command::new(bench_path)
6666
.arg(format!("-test.bench={bench}"))
67+
.arg("-test.benchtime=100x")
6768
.output()
6869
.context("Failed to execute benchmark command")?;
6970

go-runner/src/snapshots/go_runner__integration_tests__build_and_run.snap.new

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)