From b190f060619b8b4be091a69540d0b9de30c1fb5a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 29 Jan 2020 11:50:06 +0100 Subject: dashboard/app: fix testing for go1.11 runtime 0. Remove aetest build tag. We don't need it anymore, go test should work. 1. IsDevAppServer does not return true in tests anymore, so don't use it 2. Use a different mechanism to register test/prod config. We don't have aetest tag anymore, so we need something even more dynamic. 3. Fix new golangci-lint warnings: all test files are checked now. Update #1461 --- dashboard/app/commit_poll_test.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'dashboard/app/commit_poll_test.go') diff --git a/dashboard/app/commit_poll_test.go b/dashboard/app/commit_poll_test.go index 207ea4fc6..5f80db826 100644 --- a/dashboard/app/commit_poll_test.go +++ b/dashboard/app/commit_poll_test.go @@ -1,8 +1,6 @@ // Copyright 2019 syzkaller project authors. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. -// +build aetest - package main import ( -- cgit mrf-deployment