Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Chu Peng 楚鹏
minikube
提交
d11149d7
M
minikube
项目概览
Chu Peng 楚鹏
/
minikube
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
minikube
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
d11149d7
编写于
1月 14, 2021
作者:
I
Ilya Zuyev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
make Arm64Platform private
上级
2ea47152
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
9 addition
and
9 deletion
+9
-9
test/integration/aaa_download_only_test.go
test/integration/aaa_download_only_test.go
+1
-1
test/integration/aab_offline_test.go
test/integration/aab_offline_test.go
+1
-1
test/integration/addons_test.go
test/integration/addons_test.go
+1
-1
test/integration/driver_install_or_update_test.go
test/integration/driver_install_or_update_test.go
+1
-1
test/integration/functional_test.go
test/integration/functional_test.go
+2
-2
test/integration/main_test.go
test/integration/main_test.go
+2
-2
test/integration/preload_test.go
test/integration/preload_test.go
+1
-1
未找到文件。
test/integration/aaa_download_only_test.go
浏览文件 @
d11149d7
...
...
@@ -194,7 +194,7 @@ func TestDownloadOnlyKic(t *testing.T) {
if
err
!=
nil
{
t
.
Errorf
(
"failed to read tarball file %q: %v"
,
tarball
,
err
)
}
if
!
A
rm64Platform
()
{
if
!
a
rm64Platform
()
{
// Make sure it has the correct checksum
checksum
:=
md5
.
Sum
(
contents
)
remoteChecksum
,
err
:=
ioutil
.
ReadFile
(
download
.
PreloadChecksumPath
(
constants
.
DefaultKubernetesVersion
,
cRuntime
))
...
...
test/integration/aab_offline_test.go
浏览文件 @
d11149d7
...
...
@@ -34,7 +34,7 @@ func TestOffline(t *testing.T) {
t
.
Run
(
rt
,
func
(
t
*
testing
.
T
)
{
MaybeParallel
(
t
)
if
rt
!=
"docker"
&&
A
rm64Platform
()
{
if
rt
!=
"docker"
&&
a
rm64Platform
()
{
t
.
Skipf
(
"skipping %s - only docker runtime supported on arm64"
,
t
.
Name
())
}
...
...
test/integration/addons_test.go
浏览文件 @
d11149d7
...
...
@@ -42,7 +42,7 @@ import (
// TestAddons tests addons that require no special environment -- in parallel
func
TestAddons
(
t
*
testing
.
T
)
{
if
!
A
rm64Platform
()
{
if
!
a
rm64Platform
()
{
t
.
Skipf
(
"Skip helm addon test for arm64"
)
}
...
...
test/integration/driver_install_or_update_test.go
浏览文件 @
d11149d7
...
...
@@ -42,7 +42,7 @@ func TestKVMDriverInstallOrUpdate(t *testing.T) {
t
.
Skip
(
"Skip if not linux."
)
}
if
A
rm64Platform
()
{
if
a
rm64Platform
()
{
t
.
Skip
(
"Skip if arm64."
)
}
...
...
test/integration/functional_test.go
浏览文件 @
d11149d7
...
...
@@ -816,7 +816,7 @@ func validateServiceCmd(ctx context.Context, t *testing.T, profile string) {
}()
var
echoServerArg
string
if
A
rm64Platform
()
{
if
a
rm64Platform
()
{
echoServerArg
=
"k8s.gcr.io/echoserver-arm:1.8"
}
else
{
echoServerArg
=
"k8s.gcr.io/echoserver:1.10"
...
...
@@ -994,7 +994,7 @@ func validateSSHCmd(ctx context.Context, t *testing.T, profile string) {
// validateMySQL validates a minimalist MySQL deployment
func
validateMySQL
(
ctx
context
.
Context
,
t
*
testing
.
T
,
profile
string
)
{
if
A
rm64Platform
()
{
if
a
rm64Platform
()
{
t
.
Skip
(
"arm64 is not supported by mysql. skip the test"
)
return
}
...
...
test/integration/main_test.go
浏览文件 @
d11149d7
...
...
@@ -135,8 +135,8 @@ func GithubActionRunner() bool {
return
os
.
Getenv
(
"GITHUB_ACTIONS"
)
==
"true"
}
//
A
rm64Platform returns true if running on arm64/* platform
func
A
rm64Platform
()
bool
{
//
a
rm64Platform returns true if running on arm64/* platform
func
a
rm64Platform
()
bool
{
return
runtime
.
GOARCH
==
"arm64"
}
...
...
test/integration/preload_test.go
浏览文件 @
d11149d7
...
...
@@ -31,7 +31,7 @@ func TestPreload(t *testing.T) {
t
.
Skipf
(
"skipping %s - incompatible with none driver"
,
t
.
Name
())
}
if
A
rm64Platform
()
{
if
a
rm64Platform
()
{
t
.
Skipf
(
"skipping %s - not yet supported on arm64"
,
t
.
Name
())
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录