diff options
author | Harald Musum <musum@verizonmedia.com> | 2020-04-14 09:09:06 +0200 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2020-04-14 09:09:06 +0200 |
commit | e4c098e2a56a46b973924d4889e3e8f73ef8f6a3 (patch) | |
tree | fda13057dd62fc05442789defec6186196337daa /config-model/src/test/java/com/yahoo/vespa/model/filedistribution | |
parent | 92a0e866562662d5be4b3aa01da2a115bc9a2a00 (diff) |
Do not request download of files for tenant hosts when on hosted
The request for download of files for tenant hosts will work, but
the download itself will not, since the application will need to be
activated before rpc request for a new file is authorized (authorizer
only knows about files for an active application and this happens in
when preparing an application)
Diffstat (limited to 'config-model/src/test/java/com/yahoo/vespa/model/filedistribution')
-rw-r--r-- | config-model/src/test/java/com/yahoo/vespa/model/filedistribution/FileDistributorTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/filedistribution/FileDistributorTestCase.java b/config-model/src/test/java/com/yahoo/vespa/model/filedistribution/FileDistributorTestCase.java index 39ded69b710..55672c5aa16 100644 --- a/config-model/src/test/java/com/yahoo/vespa/model/filedistribution/FileDistributorTestCase.java +++ b/config-model/src/test/java/com/yahoo/vespa/model/filedistribution/FileDistributorTestCase.java @@ -25,7 +25,7 @@ public class FileDistributorTestCase { public void fileDistributor() { MockHosts hosts = new MockHosts(); - FileDistributor fileDistributor = new FileDistributor(new MockFileRegistry(), List.of()); + FileDistributor fileDistributor = new FileDistributor(new MockFileRegistry(), List.of(), false); String file1 = "component/path1"; String file2 = "component/path2"; |