Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
disable doc tests
  • Loading branch information
droot committed Aug 31, 2018
commit 9cb6a2088bed09a3d04aba424f5b17720f7a72c7
5 changes: 4 additions & 1 deletion test/projects/memcached-api-server/memcached_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package memcached_test

import (
"github.com/kubernetes-sigs/kubebuilder/test/internal/e2e"
"os"
"path/filepath"
"runtime"
"testing"
"github.com/kubernetes-sigs/kubebuilder/test/internal/e2e"
)

var kubebuilderTest *e2e.KubebuilderTest
Expand Down Expand Up @@ -44,6 +44,9 @@ func TestGenerateBuildTest(t *testing.T) {
}

func TestDocs(t *testing.T) {
// (droot): Disabling docs test for now because they are broken for k8s 1.1.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.11? Or time travel

// Fix them when we start supporting docs for v1 projects in KB
t.Skip()
docsOptions := []string{"--docs-copyright", "Hello", "--title", "World", "--cleanup=false", "--brodocs=false"}
err := kubebuilderTest.Docs(docsOptions)
if err != nil {
Expand Down
4 changes: 3 additions & 1 deletion testv0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,9 @@ test_generated_controller
prepare_testdir_under_gopath
generate_crd_resources
generate_controller
test_docs
# (droot): Disabling docs test for now because they are broken for k8s 1.1.
# Fix them when we start supporting docs for v1 projects in KB
# test_docs
test_generated_controller
test_vendor_update
# re-running controller tests post vendor update
Expand Down