Former-commit-id: 3642cd8f4089038eade6857854d1d1b42c5eceb8
This commit is contained in:
yangwei.yao 2019-05-12 20:38:20 +08:00 committed by xj.lin
parent 7c512bf752
commit 384b9b8af2

View File

@ -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;
}