projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '18894-manifest-size-doc' refs #18894
[arvados.git]
/
services
/
crunch-dispatch-slurm
/
crunch-dispatch-slurm_test.go
diff --git
a/services/crunch-dispatch-slurm/crunch-dispatch-slurm_test.go
b/services/crunch-dispatch-slurm/crunch-dispatch-slurm_test.go
index e7a89db23c8743b3e2934a5c26f12a446a5bd6a9..cf83257dad5a86d77826f0cd07154389bc40efc5 100644
(file)
--- a/
services/crunch-dispatch-slurm/crunch-dispatch-slurm_test.go
+++ b/
services/crunch-dispatch-slurm/crunch-dispatch-slurm_test.go
@@
-42,7
+42,8
@@
type IntegrationSuite struct {
}
func (s *IntegrationSuite) SetUpTest(c *C) {
}
func (s *IntegrationSuite) SetUpTest(c *C) {
- arvadostest.StartAPI()
+ arvadostest.ResetEnv()
+ arvadostest.ResetDB(c)
os.Setenv("ARVADOS_API_TOKEN", arvadostest.Dispatch1Token)
s.disp = Dispatcher{}
s.disp.cluster = &arvados.Cluster{}
os.Setenv("ARVADOS_API_TOKEN", arvadostest.Dispatch1Token)
s.disp = Dispatcher{}
s.disp.cluster = &arvados.Cluster{}
@@
-52,7
+53,7
@@
func (s *IntegrationSuite) SetUpTest(c *C) {
func (s *IntegrationSuite) TearDownTest(c *C) {
arvadostest.ResetEnv()
func (s *IntegrationSuite) TearDownTest(c *C) {
arvadostest.ResetEnv()
- arvadostest.
StopAPI(
)
+ arvadostest.
ResetDB(c
)
}
type slurmFake struct {
}
type slurmFake struct {