You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2022/10/25 00:18:19 UTC
[skywalking] branch master updated: Fix typo in UTs (#9834)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/master by this push:
new 317d539371 Fix typo in UTs (#9834)
317d539371 is described below
commit 317d539371c588c4754029134ad76087ecb6d0cd
Author: liuzc9 <90...@users.noreply.github.com>
AuthorDate: Tue Oct 25 08:18:10 2022 +0800
Fix typo in UTs (#9834)
* Fix typo in ScopeTest.java
fix misspelled words.
* Fix typo in EBPFProfilingAnalyzerBenchmark.java
fix 'minute' spelling mistakes
---
.../org/apache/skywalking/oap/meter/analyzer/dsl/ScopeTest.java | 6 +++---
.../core/profiling/ebpf/EBPFProfilingAnalyzerBenchmark.java | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/oap-server/analyzer/meter-analyzer/src/test/java/org/apache/skywalking/oap/meter/analyzer/dsl/ScopeTest.java b/oap-server/analyzer/meter-analyzer/src/test/java/org/apache/skywalking/oap/meter/analyzer/dsl/ScopeTest.java
index 3796ee6ec2..2722be7f37 100644
--- a/oap-server/analyzer/meter-analyzer/src/test/java/org/apache/skywalking/oap/meter/analyzer/dsl/ScopeTest.java
+++ b/oap-server/analyzer/meter-analyzer/src/test/java/org/apache/skywalking/oap/meter/analyzer/dsl/ScopeTest.java
@@ -205,7 +205,7 @@ public class ScopeTest {
}
},
{
- "sum_service_endpiont",
+ "sum_service_endpoint",
of("http_success_request", SampleFamilyBuilder.newBuilder(
Sample.builder().labels(of("idc", "t1")).value(50).name("http_success_request").build(),
Sample.builder()
@@ -250,7 +250,7 @@ public class ScopeTest {
},
{
- "sum_service_endpiont_labels",
+ "sum_service_endpoint_labels",
of("http_success_request", SampleFamilyBuilder.newBuilder(
Sample.builder().labels(of("idc", "t1")).value(50).name("http_success_request").build(),
Sample.builder()
@@ -317,7 +317,7 @@ public class ScopeTest {
}
},
{
- "sum_service_endpiont_labels_m",
+ "sum_service_endpoint_labels_m",
of("http_success_request", SampleFamilyBuilder.newBuilder(
Sample.builder().labels(of("idc", "t1")).value(50).name("http_success_request").build(),
Sample.builder()
diff --git a/oap-server/microbench/src/main/java/org/apache/skywalking/oap/server/microbench/core/profiling/ebpf/EBPFProfilingAnalyzerBenchmark.java b/oap-server/microbench/src/main/java/org/apache/skywalking/oap/server/microbench/core/profiling/ebpf/EBPFProfilingAnalyzerBenchmark.java
index d68b010128..3ec3fa8388 100644
--- a/oap-server/microbench/src/main/java/org/apache/skywalking/oap/server/microbench/core/profiling/ebpf/EBPFProfilingAnalyzerBenchmark.java
+++ b/oap-server/microbench/src/main/java/org/apache/skywalking/oap/server/microbench/core/profiling/ebpf/EBPFProfilingAnalyzerBenchmark.java
@@ -138,8 +138,8 @@ public class EBPFProfilingAnalyzerBenchmark extends AbstractMicrobenchmark {
}
}
- private static int calculateStackCount(int stackReportPeriodSecond, int totalTimeMiniute, int combineInstanceCount) {
- return (int) (TimeUnit.MINUTES.toSeconds(totalTimeMiniute) / stackReportPeriodSecond * combineInstanceCount);
+ private static int calculateStackCount(int stackReportPeriodSecond, int totalTimeMinute, int combineInstanceCount) {
+ return (int) (TimeUnit.MINUTES.toSeconds(totalTimeMinute) / stackReportPeriodSecond * combineInstanceCount);
}
@State(Scope.Benchmark)