Commit 54c90e22 authored by Cedric CAFFY's avatar Cedric CAFFY
Browse files

Corrected the CatalogueTest::getSchemaVersion() so that the schema version is...

Corrected the CatalogueTest::getSchemaVersion() so that the schema version is compared against the CTA_CATALOGUE_SCHEMA_VERSION_MAJOR/MINOR
parent 73c8e944
......@@ -21,14 +21,15 @@
*
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#include "version.h"
#pragma once
namespace cta {
const int CA_MAXVIDLEN = 6; // maximum length for a VID
const int CTA_SCHEMA_VERSION_MAJOR = 0;
const int CTA_SCHEMA_VERSION_MINOR = 0;
const int CTA_SCHEMA_VERSION_MAJOR = CTA_CATALOGUE_SCHEMA_VERSION_MAJOR;
const int CTA_SCHEMA_VERSION_MINOR = CTA_CATALOGUE_SCHEMA_VERSION_MINOR;
const int TAPE_LABEL_UNITREADY_TIMEOUT = 300;
} // namespace cta
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment