mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
1
Former-commit-id: 3642cd8f4089038eade6857854d1d1b42c5eceb8
This commit is contained in:
parent
7c512bf752
commit
384b9b8af2
@ -10,7 +10,7 @@
|
||||
#include "utils/Error.h"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
using namespace zilliz::vecwise;
|
||||
|
||||
@ -251,7 +251,7 @@ TEST(LicenseLibraryTest, GET_LICENSE_FILE) {
|
||||
ASSERT_EQ(err, server::SERVER_SUCCESS);
|
||||
|
||||
// 5. Enter time
|
||||
int64_t remaining_hour = 5;
|
||||
int64_t remaining_hour = 24*7 ;
|
||||
std::cout << "Please enter the authorization time (hours)" << std::endl;
|
||||
// std::cin >> remaining_hour;
|
||||
err = server::LicenseLibrary::LicenseFileSerialization(license_file_path,
|
||||
@ -286,9 +286,3 @@ TEST(LicenseLibraryTest, GET_SECRET_FILE) {
|
||||
|
||||
std::cout << "Generate Secret File Success" << std::endl;
|
||||
}
|
||||
|
||||
TEST(LicenseLibraryTest, CIN_TEST) {
|
||||
int a;
|
||||
std::cin >> a;
|
||||
std::cout << 2 * a << std::endl;
|
||||
}
|
Loading…
Reference in New Issue
Block a user